Skip to content

NFS/RDMA clean-ups and fixes

Chuck Lever linux-nfs linux-rdma 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16xprtrdma: Fix buffer leak after transport set up failurenet/sunrpc/xprtrdma/transport.c+2 -110 replies
2/16xprtrdma: Fix backchannel allocation of extra rpcrdma_repsnet/sunrpc/xprtrdma/backchannel.c net/sunrpc/xprtrdma/verbs.c net/sunrpc/xprtrdma/xprt_rdma.h+22 -240 replies
3/16xprtrdma: Eliminate unnecessary lock cycle in xprt_rdma_send_requestnet/sunrpc/xprtrdma/transport.c+1 -10 replies
4/16xprtrdma: Per-mode handling for Remote Invalidationnet/sunrpc/xprtrdma/frwr_ops.c net/sunrpc/xprtrdma/rpc_rdma.c net/sunrpc/xprtrdma/verbs.c +1 more+27 -300 replies
5/16xprtrdma: Remove ri_reminv_expectednet/sunrpc/xprtrdma/verbs.c net/sunrpc/xprtrdma/xprt_rdma.h+0 -30 replies
6/16xprtrdma: Remove unused padding variablesnet/sunrpc/xprtrdma/transport.c net/sunrpc/xprtrdma/xprt_rdma.h+3 -70 replies
7/16xprtrdma: Initialize the xprt address string array earliernet/sunrpc/xprtrdma/transport.c net/sunrpc/xprtrdma/verbs.c net/sunrpc/xprtrdma/xprt_rdma.h+21 -130 replies
8/16xprtrdma: Remove another sockaddr_storage field (cdata::addr)net/sunrpc/xprtrdma/transport.c net/sunrpc/xprtrdma/verbs.c net/sunrpc/xprtrdma/xprt_rdma.h+12 -190 replies
9/16xprtrdma: Support IPv6 in xprt_rdma_set_portnet/sunrpc/xprtrdma/transport.c+24 -40 replies
10/16xprtrdma: Move unmap-safe logic to rpcrdma_marshal_reqnet/sunrpc/xprtrdma/rpc_rdma.c net/sunrpc/xprtrdma/transport.c+11 -50 replies
11/16xprtrdma: buf_free not called for CB repliesnet/sunrpc/xprtrdma/backchannel.c net/sunrpc/xprtrdma/transport.c net/sunrpc/xprtrdma/xprt_rdma.h+1 -60 replies
12/16xprtrdma: Split xprt_rdma_send_requestnet/sunrpc/xprtrdma/backchannel.c net/sunrpc/xprtrdma/rpc_rdma.c net/sunrpc/xprtrdma/transport.c +1 more+50 -320 replies
13/16xprtrdma: Don't clear RPC_BC_PA_IN_USE on pre-allocated rpc_rqst'snet/sunrpc/xprtrdma/backchannel.c+1 -60 replies
14/16xprtrdma: Replace all usage of "frmr" with "frwr"include/linux/sunrpc/xprtrdma.h net/sunrpc/xprtrdma/frwr_ops.c net/sunrpc/xprtrdma/transport.c +2 more+100 -1000 replies
15/16xprtrdma: Remove usage of "mw"net/sunrpc/xprtrdma/fmr_ops.c net/sunrpc/xprtrdma/frwr_ops.c net/sunrpc/xprtrdma/rpc_rdma.c +2 more+292 -2780 replies
16/16xprtrdma: Introduce rpcrdma_mw_unmap_and_putnet/sunrpc/xprtrdma/fmr_ops.c net/sunrpc/xprtrdma/frwr_ops.c net/sunrpc/xprtrdma/verbs.c +1 more+33 -230 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 00/16] NFS/RDMA clean-ups and fixes

Hi Anna-

This is the second series of NFS/RDMA client patches for v4.16.

This is a bunch of minor fixes and clean-ups in preparation for adding static trace points to the RPC-over-RDMA transport implementation. Please consider these for v4.16.

---

Chuck Lever (16):
xprtrdma: Fix buffer leak after transport set up failure
xprtrdma: Fix backchannel allocation of extra rpcrdma_reps
xprtrdma: Eliminate unnecessary lock cycle in xprt_rdma_send_request
xprtrdma: Per-mode handling for Remote Invalidation
xprtrdma: Remove ri_reminv_expected
xprtrdma: Remove unused padding variables
xprtrdma: Initialize the xprt address string array earlier
xprtrdma: Remove another sockaddr_storage field (cdata::addr)
xprtrdma: Support IPv6 in xprt_rdma_set_port
xprtrdma: Move unmap-safe logic to rpcrdma_marshal_req
xprtrdma: buf_free not called for CB replies
xprtrdma: Split xprt_rdma_send_request
xprtrdma: Don't clear RPC_BC_PA_IN_USE on pre-allocated rpc_rqst's
xprtrdma: Replace all usage of "frmr" with "frwr"
xprtrdma: Remove usage of "mw"
xprtrdma: Introduce rpcrdma_mw_unmap_and_put

 include/linux/sunrpc/xprtrdma.h   |    2 
 net/sunrpc/xprtrdma/backchannel.c |   68 +++++---
 net/sunrpc/xprtrdma/fmr_ops.c     |  155 +++++++++---------
 net/sunrpc/xprtrdma/frwr_ops.c    |  317 +++++++++++++++++++------------------
 net/sunrpc/xprtrdma/rpc_rdma.c    |   98 +++++------
 net/sunrpc/xprtrdma/transport.c   |  102 +++++-------
 net/sunrpc/xprtrdma/verbs.c       |  212 ++++++++++++++-----------
 net/sunrpc/xprtrdma/xprt_rdma.h   |  112 +++++++------
 8 files changed, 552 insertions(+), 514 deletions(-)

--
Chuck Lever
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html