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)
commit36bd7de949f41d586ef7794169af75462b67acbc
tree9ac9fd84f682992ddae85e2f175799fb78f63979
parentf05d54ecf66224e2c585f969aa7b9dbe76a1ec46
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