OSDN Git Service

SUNRPC: Add a ->free_slot transport callout
authorChuck Lever <chuck.lever@oracle.com>
Fri, 4 May 2018 19:34:59 +0000 (15:34 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 7 May 2018 13:20:03 +0000 (09:20 -0400)
commita9cde23ab7cdf5e4e93432dffd0e734267f2b745
tree1c3aea9e962db1c79e19ad9217aa3dd9ddf8778d
parent37ac86c3a76c113619b7d9afe0251bbfc04cb80a
SUNRPC: Add a ->free_slot transport callout

Refactor: xprtrdma needs to have better control over when RPCs are
awoken from the backlog queue, so replace xprt_free_slot with a
transport op callout.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/linux/sunrpc/xprt.h
net/sunrpc/xprt.c
net/sunrpc/xprtrdma/svc_rdma_backchannel.c
net/sunrpc/xprtrdma/transport.c
net/sunrpc/xprtsock.c