commit | 2a4919919a97911b0aa4b9f5ac1eab90ba87652b | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Mar 11 14:38:00 2009 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Mar 11 14:38:00 2009 -0400 |
tree | c12eb42c34f0d0b79130ae93ebd56159e8366ee8 | |
parent | 482f32e65d31cbf88d08306fa5d397cc945c3c26 [diff] |
SUNRPC: Return EAGAIN instead of ENOTCONN when waking up xprt->pending While we should definitely return socket errors to the task that is currently trying to send data, there is no need to propagate the same error to all the other tasks on xprt->pending. Doing so actually slows down recovery, since it causes more than one tasks to attempt socket recovery. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>