OSDN Git Service

xprtrdma: Move rpcrdma_mr_get out of frwr_map
authorChuck Lever <chuck.lever@oracle.com>
Mon, 19 Aug 2019 22:45:37 +0000 (18:45 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 20 Aug 2019 20:23:35 +0000 (16:23 -0400)
commit3b39f52a02d4b3322744a0a32d59142e01afa435
treee2380bbe235ecb137d22aa44d963bf4af15204e2
parent1ca3f4c054a4e3765bdeb62c849d940b5bc8002d
xprtrdma: Move rpcrdma_mr_get out of frwr_map

Refactor: Retrieve an MR and handle error recovery entirely in
rpc_rdma.c, as this is not a device-specific function.

Note that since commit 89f90fe1ad8b ("SUNRPC: Allow calls to
xprt_transmit() to drain the entire transmit queue"), the
xprt_transmit function handles the cond_resched. The transport no
longer has to do this itself.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/trace/events/rpcrdma.h
net/sunrpc/xprtrdma/frwr_ops.c
net/sunrpc/xprtrdma/rpc_rdma.c
net/sunrpc/xprtrdma/verbs.c
net/sunrpc/xprtrdma/xprt_rdma.h