]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Turn off throttling of RPC slots for TCP sockets
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 3 Sep 2018 22:41:32 +0000 (18:41 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 30 Sep 2018 19:35:15 +0000 (15:35 -0400)
commit22768498eb6aa414259de8e50820faecf9f62385
tree9ac9fd84f682992ddae85e2f175799fb78f63979
parentf64173cbc1c0e9ad5d42403ef469d72c2a4f7dd2
SUNRPC: Turn off throttling of RPC slots for TCP sockets

The theory was that we would need to grab the socket lock anyway, so we
might as well use it to gate the allocation of RPC slots for a TCP
socket.

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