]> www.infradead.org Git - users/jedix/linux-maple.git/commit
SUNRPC: Abstract backchannel operations
authorChuck Lever <chuck.lever@oracle.com>
Mon, 20 Apr 2015 21:48:45 +0000 (17:48 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 31 Aug 2015 20:46:01 +0000 (14:46 -0600)
commit33b61a16f8224ca8dc53cd1e82c486bf113d59d4
treeac2fd8453a8b7682bd99f9c5b85a458f3a546c9d
parentaefbea48217a81d02934ed9ad21c7a117183ba4a
SUNRPC: Abstract backchannel operations

[ Proposed for v4.4 ]

xprt_{setup,destroy}_backchannel() won't be adequate for RPC/RMDA
bi-direction. In particular, receive buffers have to be pre-
registered and posted in order to receive incoming backchannel
requests.

Add a virtual function call to allow the insertion of appropriate
backchannel setup and destruction methods for each transport.

In addition, freeing a backchannel request is a little different
for RPC/RDMA. Introduce an rpc_xprt_op to handle the difference.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/bc_xprt.h
include/linux/sunrpc/xprt.h
net/sunrpc/backchannel_rqst.c
net/sunrpc/xprtsock.c