]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Don't start the retransmission timer when out of socket space
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 22 Feb 2013 19:57:57 +0000 (14:57 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 22 Feb 2013 20:17:17 +0000 (15:17 -0500)
commitdfb6cee491a02a613da907a251d1da3e368e1ffc
treedb49569dc70d2a9d95d9d5b0d54371cba9f305d6
parentbcb92a8205b5b20397c47ea29071e05367c41821
SUNRPC: Don't start the retransmission timer when out of socket space

If the socket is full, we're better off just waiting until it empties,
or until the connection is broken. The reason why we generally don't
want to time out is that the call to xprt->ops->release_xprt() will
trigger a connection reset, which isn't helpful...

Let's make an exception for soft RPC calls, since they have to provide
timeout guarantees.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@vger.kernel.org
net/sunrpc/xprt.c