commit | 27adc785928ae6b34cdda96f472735b77c91e247 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Fri Mar 15 08:01:16 2019 -0400 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Fri Mar 15 13:08:20 2019 -0400 |
tree | 35031bb75174bf9b656fff6e1d8f91988b5060a0 | |
parent | 513149607d19bc3821386fb5ac75f8b99fd4b115 [diff] |
SUNRPC: Use the ENOTCONN error on socket disconnect When the socket is closed, we currently send an EAGAIN error to all pending requests in order to ask them to retransmit. Use ENOTCONN instead, to ensure that they try to reconnect before attempting to transmit. This also helps SOFTCONN tasks to behave correctly in this situation. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>