]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8fd7f77b347efbac7a4250058f00d24cc94e46b4
tree8e8f6f57aa3182fbe434e41735621d341e0f4901
parent96f3ed0be8368dbac9a7b1346d496c533da31146
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