Skip to content

Second round of v4.17 NFS/RDMA client patches

Chuck Lever linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9SUNRPC: Move xprt_update_rtt callsiteinclude/linux/sunrpc/xprt.h net/sunrpc/xprt.c net/sunrpc/xprtsock.c+10 -30 replies
2/9SUNRPC: Make RTT measurement more precise (Receive)net/sunrpc/xprt.c+3 -20 replies
3/9SUNRPC: Make RTT measurement more precise (Send)net/sunrpc/xprt.c net/sunrpc/xprtrdma/transport.c net/sunrpc/xprtsock.c+4 -10 replies
4/9SUNRPC: Make num_reqs a non-atomic integerinclude/linux/sunrpc/xprt.h net/sunrpc/xprt.c+10 -90 replies
5/9SUNRPC: Initialize rpc_rqst outside of xprt->reserve_lockinclude/linux/sunrpc/xprt.h net/sunrpc/clnt.c net/sunrpc/xprt.c+9 -57 replies
6/9SUNRPC: Add a ->free_slot transport calloutinclude/linux/sunrpc/xprt.h net/sunrpc/xprt.c net/sunrpc/xprtrdma/svc_rdma_backchannel.c +2 more+13 -20 replies
7/9xprtrdma: Introduce ->alloc_slot call-out for xprtrdmanet/sunrpc/xprtrdma/transport.c+50 -20 replies
8/9xprtrdma: Make rpc_rqst part of rpcrdma_reqinclude/linux/sunrpc/xprt.h net/sunrpc/xprtrdma/backchannel.c net/sunrpc/xprtrdma/transport.c +1 more+46 -760 replies
9/9xprtrdma: Allocate rpcrdma_reps during Receive completionnet/sunrpc/xprtrdma/backchannel.c net/sunrpc/xprtrdma/rpc_rdma.c net/sunrpc/xprtrdma/verbs.c +1 more+37 -310 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/9] Second round of v4.17 NFS/RDMA client patches

Hi Anna-

Second round of three. This set could be more controversial. In it, I adjust some code paths so that I can create rpcrdma-specific alloc_slot and free_slot methods. These are clean-ups that make it straightforward to do the changes coming in the third round, and hopefully add a little bit of a scalability boost as well.

---

Chuck Lever (9):
SUNRPC: Move xprt_update_rtt callsite
SUNRPC: Make RTT measurement more precise (Receive)
SUNRPC: Make RTT measurement more precise (Send)
SUNRPC: Make num_reqs a non-atomic integer
SUNRPC: Initialize rpc_rqst outside of xprt->reserve_lock
SUNRPC: Add a ->free_slot transport callout
xprtrdma: Introduce ->alloc_slot call-out for xprtrdma
xprtrdma: Make rpc_rqst part of rpcrdma_req
xprtrdma: Allocate rpcrdma_reps during Receive completion

 include/linux/sunrpc/xprt.h                |    9 ++-
 net/sunrpc/clnt.c                          |    1 
 net/sunrpc/xprt.c                          |   51 +++++++++------
 net/sunrpc/xprtrdma/backchannel.c          |   94 ++++++++++------------------
 net/sunrpc/xprtrdma/rpc_rdma.c             |    8 ++
 net/sunrpc/xprtrdma/svc_rdma_backchannel.c |    1 
 net/sunrpc/xprtrdma/transport.c            |   61 ++++++++++++++----
 net/sunrpc/xprtrdma/verbs.c                |   35 ++++++++--
 net/sunrpc/xprtrdma/xprt_rdma.h            |   13 +---
 net/sunrpc/xprtsock.c                      |    8 ++
 10 files changed, 166 insertions(+), 115 deletions(-)

--
Chuck Lever