diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-02-09 15:23:34 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-02-09 17:20:44 +0100 |
commit | caf4ccd4e88cf2795c927834bc488c8321437586 (patch) | |
tree | 34551130a009cc920f907bca6a804f0d380f7814 /block/noop-iosched.c | |
parent | SUNRPC: Ensure xs_tcp_shutdown() requests a full close of the connection (diff) | |
download | linux-caf4ccd4e88cf2795c927834bc488c8321437586.tar.xz linux-caf4ccd4e88cf2795c927834bc488c8321437586.zip |
SUNRPC: Make xs_tcp_close() do a socket shutdown rather than a sock_release
Use of socket shutdown() means that we monitor the shutdown process
through the xs_tcp_state_change() callback, so it is preferable to
a full close in all cases unless we're destroying the transport.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions