SUNRPC: Add a separate spinlock to protect the RPC request receive list
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 16 Aug 2017 19:30:35 +0000 (15:30 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 18 Aug 2017 18:45:04 +0000 (14:45 -0400)
commitce7c252a8c741aba7c38f817b86e34361f561e42
tree4e90fa24a74ac7f8ecfcf1ddc1be735e64aa43cc
parent040249dfbeed9dd553fd323ef4b42c7a3270898b
SUNRPC: Add a separate spinlock to protect the RPC request receive list

This further reduces contention with the transport_lock, and allows us
to convert to using a non-bh-safe spinlock, since the list is now never
accessed from a bh context.

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