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)
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

Simple merge