SUNRPC: Ensure xs_tcp_shutdown() requests a full close of the connection
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 9 Feb 2015 14:26:39 +0000 (09:26 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 9 Feb 2015 14:31:11 +0000 (09:31 -0500)
commit0efeac261c3f79c44fe61ee869722b77805c7ddf
tree35fe34be1051c931e2d22ca5ba4c912300445017
parent505936f59f1e4cd0ff92ae5abc7aae64fb74dbdb
SUNRPC: Ensure xs_tcp_shutdown() requests a full close of the connection

The previous behaviour left the connection half-open in order to try
to scrape the last replies from the socket. Now that we have more reliable
reconnection, change the behaviour to close down the socket faster.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/xprtsock.c