SUNRPC: Handle connection reset more efficiently.
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 9 Feb 2015 14:41:32 +0000 (09:41 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 9 Feb 2015 16:27:42 +0000 (11:27 -0500)
commitb70ae915e4282854fb7864519e5ec559ab2de7c3
treed15ac4bfa2b0367429736104c32d0c85d371fd08
parent9e2b9f37760e129cee053cc7b6e7288acc2a7134
SUNRPC: Handle connection reset more efficiently.

If the connection reset is due to an active call on our side, then
the state change is sometimes not reported. Catch those instances
using xs_error_report() instead.
Also remove the xs_tcp_shutdown() call in xs_tcp_send_request() as
the change in behaviour makes it redundant.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/xprtsock.c
This page took 0.025271 seconds and 5 git commands to generate.