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 89f90fe1 ("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>
Showing
- include/trace/events/rpcrdma.h 28 additions, 1 deletioninclude/trace/events/rpcrdma.h
- net/sunrpc/xprtrdma/frwr_ops.c 5 additions, 18 deletionsnet/sunrpc/xprtrdma/frwr_ops.c
- net/sunrpc/xprtrdma/rpc_rdma.c 24 additions, 6 deletionsnet/sunrpc/xprtrdma/rpc_rdma.c
- net/sunrpc/xprtrdma/verbs.c 4 additions, 17 deletionsnet/sunrpc/xprtrdma/verbs.c
- net/sunrpc/xprtrdma/xprt_rdma.h 2 additions, 2 deletionsnet/sunrpc/xprtrdma/xprt_rdma.h
Loading
Please register or sign in to comment