]> git.baikalelectronics.ru Git - kernel.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)
commitc0981bd4699182f4484b978588ebaa04648c0b23
treedae030f8d5914ed7fc87dbd7e6788804a5196a95
parentfab58f7c545885b5cd0d6e70a9bccfd727ad7a9b
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