xprtrdma: Make rpc_rqst part of rpcrdma_req
authorChuck Lever <chuck.lever@oracle.com>
Fri, 4 May 2018 19:35:09 +0000 (15:35 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 7 May 2018 13:20:03 +0000 (09:20 -0400)
commitedb41e61a54ee75fae31302775e0301fdcb0caaa
tree8e8f6f57aa3182fbe434e41735621d341e0f4901
parent48be539dd44a3a010a6a330d09610d60ad42758a
xprtrdma: Make rpc_rqst part of rpcrdma_req

This simplifies allocation of the generic RPC slot and xprtrdma
specific per-RPC resources.

It also makes xprtrdma more like the socket-based transports:
->buf_alloc and ->buf_free are now responsible only for send and
receive buffers.

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/xprtrdma/backchannel.c
net/sunrpc/xprtrdma/transport.c
net/sunrpc/xprtrdma/xprt_rdma.h