Skip to content

NFS/RDMA client patches for v4.20

Chuck Lever linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22xprtrdma: Reset credit grant properly after a disconnectnet/sunrpc/xprtrdma/transport.c+6 -00 replies
2/22xprtrdma: Create more MRs at a timenet/sunrpc/xprtrdma/fmr_ops.c net/sunrpc/xprtrdma/frwr_ops.c net/sunrpc/xprtrdma/rpc_rdma.c +1 more+3 -30 replies
3/22xprtrdma: Explicitly resetting MRs is no longer necessaryinclude/trace/events/rpcrdma.h net/sunrpc/xprtrdma/fmr_ops.c net/sunrpc/xprtrdma/frwr_ops.c +4 more+114 -1980 replies
4/22xprtrdma: Name MR trace events consistentlyinclude/trace/events/rpcrdma.h net/sunrpc/xprtrdma/fmr_ops.c net/sunrpc/xprtrdma/frwr_ops.c +1 more+14 -140 replies
5/22xprtrdma: Refactor chunk encodingnet/sunrpc/xprtrdma/rpc_rdma.c+16 -210 replies
6/22xprtrdma: Refactor chunktype handlinginclude/trace/events/rpcrdma.h net/sunrpc/xprtrdma/rpc_rdma.c net/sunrpc/xprtrdma/xprt_rdma.h+63 -570 replies
7/22xprtrdma: Support Write+Reply Repliesinclude/trace/events/rpcrdma.h net/sunrpc/xprtrdma/rpc_rdma.c net/sunrpc/xprtrdma/xprt_rdma.h+46 -240 replies
8/22sunrpc: Fix connect metricsnet/sunrpc/xprt.c net/sunrpc/xprtrdma/transport.c net/sunrpc/xprtsock.c+14 -121 reply
9/22sunrpc: Report connect_time in secondsnet/sunrpc/xprtrdma/transport.c net/sunrpc/xprtsock.c+3 -30 replies
10/22xprtrdma: Rename rpcrdma_conn_upcallinclude/trace/events/rpcrdma.h net/sunrpc/xprtrdma/verbs.c+14 -40 replies
11/22xprtrdma: Conventional variable names in rpcrdma_conn_upcallnet/sunrpc/xprtrdma/verbs.c+12 -110 replies
12/22xprtrdma: Eliminate "connstate" variable from rpcrdma_conn_upcall()net/sunrpc/xprtrdma/verbs.c+6 -80 replies
13/22xprtrdma: Re-organize the switch() in rpcrdma_conn_upcallnet/sunrpc/xprtrdma/verbs.c+8 -90 replies
14/22xprtrdma: Simplify RPC wake-ups on connectnet/sunrpc/xprtrdma/transport.c net/sunrpc/xprtrdma/verbs.c net/sunrpc/xprtrdma/xprt_rdma.h+52 -480 replies
15/22xprtrdma: Rename rpcrdma_qp_async_error_upcallinclude/trace/events/rpcrdma.h net/sunrpc/xprtrdma/verbs.c+12 -40 replies
16/22xprtrdma: Remove memory address of "ep" from an error messagenet/sunrpc/xprtrdma/verbs.c+3 -20 replies
17/22svcrdma: Don't disable BH's in backchannelnet/sunrpc/xprtrdma/backchannel.c+8 -80 replies
18/22xprtrdma: Move rb_flags initializationnet/sunrpc/xprtrdma/verbs.c+1 -10 replies
19/22xprtrdma: Report when there were zero posted Receivesnet/sunrpc/xprtrdma/verbs.c+5 -20 replies
20/22xprtrdma: Add documenting commentsnet/sunrpc/xprtrdma/transport.c+23 -130 replies
21/22xprtrdma: Clean up xprt_rdma_disconnect_injectnet/sunrpc/xprtrdma/transport.c+1 -20 replies
22/22xprtrdma: Squelch a sparse warninginclude/trace/events/rpcrdma.h+1 -10 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/22] NFS/RDMA client patches for v4.20

A mixed bag of fixes and clean ups, the important ones being:

- Ensure credit grant is reduced to 1 after a reconnect
- Delete MRs instead of recovering them
- Support sending RPCs with both Write and Reply chunks
- Modernize the connect logic

Details can be found in the patch descriptions.

---

Chuck Lever (22):
xprtrdma: Reset credit grant properly after a disconnect
xprtrdma: Create more MRs at a time
xprtrdma: Explicitly resetting MRs is no longer necessary
xprtrdma: Name MR trace events consistently
xprtrdma: Refactor chunk encoding
xprtrdma: Refactor chunktype handling
xprtrdma: Support Write+Reply Replies
sunrpc: Fix connect metrics
sunrpc: Report connect_time in seconds
xprtrdma: Rename rpcrdma_conn_upcall
xprtrdma: Conventional variable names in rpcrdma_conn_upcall
xprtrdma: Eliminate "connstate" variable from rpcrdma_conn_upcall()
xprtrdma: Re-organize the switch() in rpcrdma_conn_upcall
xprtrdma: Simplify RPC wake-ups on connect
xprtrdma: Rename rpcrdma_qp_async_error_upcall
xprtrdma: Remove memory address of "ep" from an error message
svcrdma: Don't disable BH's in backchannel
xprtrdma: Move rb_flags initialization
xprtrdma: Report when there were zero posted Receives
xprtrdma: Add documenting comments
xprtrdma: Clean up xprt_rdma_disconnect_inject
xprtrdma: Squelch a sparse warning

 include/trace/events/rpcrdma.h    |   40 ++++----
 net/sunrpc/xprt.c                 |   10 +-
 net/sunrpc/xprtrdma/backchannel.c |   16 ++-
 net/sunrpc/xprtrdma/fmr_ops.c     |  131 ++++++++++++---------------
 net/sunrpc/xprtrdma/frwr_ops.c    |  137 +++++++++++-----------------
 net/sunrpc/xprtrdma/rpc_rdma.c    |  168 +++++++++++++++++++----------------
 net/sunrpc/xprtrdma/transport.c   |  103 +++++++++++----------
 net/sunrpc/xprtrdma/verbs.c       |  178 +++++++++++++++++++------------------
 net/sunrpc/xprtrdma/xprt_rdma.h   |   23 ++---
 net/sunrpc/xprtsock.c             |   14 ++-
 10 files changed, 400 insertions(+), 420 deletions(-)

--
Chuck Lever