commit | b70ae915e4282854fb7864519e5ec559ab2de7c3 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Mon Feb 09 09:41:32 2015 -0500 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Mon Feb 09 11:27:42 2015 -0500 |
tree | d15ac4bfa2b0367429736104c32d0c85d371fd08 | |
parent | 9e2b9f37760e129cee053cc7b6e7288acc2a7134 [diff] |
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>