]> asedeno.scripts.mit.edu Git - linux.git/commit
SUNRPC: Support for congestion control when queuing is enabled
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 3 Sep 2018 21:37:36 +0000 (17:37 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 30 Sep 2018 19:35:15 +0000 (15:35 -0400)
commit75891f502f5fc70f52a01af5b924384ed4866907
treedae030f8d5914ed7fc87dbd7e6788804a5196a95
parent918f3c1fe83c5baa4892b943d3f5ac7191d8fb74
SUNRPC: Support for congestion control when queuing is enabled

Both RDMA and UDP transports require the request to get a "congestion control"
credit before they can be transmitted. Right now, this is done when
the request locks the socket. We'd like it to happen when a request attempts
to be transmitted for the first time.
In order to support retransmission of requests that already hold such
credits, we also want to ensure that they get queued first, so that we
don't deadlock with requests that have yet to obtain a credit.

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