SUNRPC: Clean up transport write space handling
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 4 Sep 2018 03:39:27 +0000 (23:39 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 30 Sep 2018 19:35:15 +0000 (15:35 -0400)
commitc544577daddb618c7dd5fa7fb98d6a41782f020e
treeb3cfe2edc09c301ed6dfb4591e9d896c4965891f
parent36bd7de949f41d586ef7794169af75462b67acbc
SUNRPC: Clean up transport write space handling

Treat socket write space handling in the same way we now treat transport
congestion: by denying the XPRT_LOCK until the transport signals that it
has free buffer space.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/svc_xprt.h
include/linux/sunrpc/xprt.h
net/sunrpc/clnt.c
net/sunrpc/svc_xprt.c
net/sunrpc/xprt.c
net/sunrpc/xprtrdma/rpc_rdma.c
net/sunrpc/xprtrdma/svc_rdma_backchannel.c
net/sunrpc/xprtsock.c