commit | 632e3bdc5006334cea894d078660b691685e1075 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Jan 03 09:55:55 2006 +0100 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Jan 06 14:58:57 2006 -0500 |
tree | c18dbe84dfe679d19a581ea0c9bfb931daa08917 | |
parent | eadb8c147154bff982f02accf31b847a1f142ace [diff] |
SUNRPC: Ensure client closes the socket when server initiates a close If the server decides to close the RPC socket, we currently don't actually respond until either another RPC call is scheduled, or until xprt_autoclose() gets called by the socket expiry timer (which may be up to 5 minutes later). This patch ensures that xprt_autoclose() is called much sooner if the server closes the socket. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>