]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
SUNRPC: svc_tcp_write_space: don't clear SOCK_NOSPACE prematurely
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 25 Jul 2014 03:59:32 +0000 (23:59 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 29 Jul 2014 20:10:19 +0000 (16:10 -0400)
commitc7fb3f0631b8d66b90e0642a95b948febb3f3cee
tree799554628d9375a2d0f45925ac58984de07080f5
parent0971374e2818eef6ebdbd7a37acf6ab7e98ac06c
SUNRPC: svc_tcp_write_space: don't clear SOCK_NOSPACE prematurely

If requests are queued in the socket inbuffer waiting for an
svc_tcp_has_wspace() requirement to be satisfied, then we do not want
to clear the SOCK_NOSPACE flag until we've satisfied that requirement.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svcsock.c