Skip to content

NFS/RDMA patches for merging into v4.4

Chuck Lever linux-nfs linux-rdma 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest16 patches 3 repliesIn review
  2. v316 patches 3 repliesSuperseded
  3. v216 patches 12 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v118 patches23 repliesSuperseded

Changes in v4 from the cover letter

- Rebased on v4.3-rc6
- Removed partial backchannel support I accidentally introduced in UDP and local transports
- Addressed Trond's review comment on "Enable client side NFSv4.1 backchannel to use other transports." Lightly tested with TCP.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16xprtrdma: Enable swap-on-NFS/RDMAnet/sunrpc/xprtrdma/transport.c+1 -10 replies
2/16xprtrdma: Re-arm after missed eventsnet/sunrpc/xprtrdma/verbs.c+10 -560 replies
3/16xprtrdma: Prevent loss of completion signalsnet/sunrpc/xprtrdma/verbs.c net/sunrpc/xprtrdma/xprt_rdma.h+38 -410 replies
4/16xprtrdma: Refactor reply handler error handlingnet/sunrpc/xprtrdma/rpc_rdma.c net/sunrpc/xprtrdma/verbs.c net/sunrpc/xprtrdma/xprt_rdma.h+53 -400 replies
5/16xprtrdma: Replace send and receive arraysnet/sunrpc/xprtrdma/verbs.c net/sunrpc/xprtrdma/xprt_rdma.h+73 -910 replies
6/16xprtrdma: Use workqueue to process RPC/RDMA repliesnet/sunrpc/xprtrdma/rpc_rdma.c net/sunrpc/xprtrdma/transport.c net/sunrpc/xprtrdma/verbs.c +1 more+65 -180 replies
7/16xprtrdma: Remove reply taskletnet/sunrpc/xprtrdma/verbs.c+0 -430 replies
8/16xprtrdma: Saving IRQs no longer needed for rb_locknet/sunrpc/xprtrdma/verbs.c+10 -140 replies
9/16SUNRPC: Abstract backchannel operationsinclude/linux/sunrpc/bc_xprt.h include/linux/sunrpc/xprt.h net/sunrpc/backchannel_rqst.c +1 more+37 -20 replies
10/16xprtrdma: Pre-allocate backward rpc_rqst and send/receive buffersnet/sunrpc/xprtrdma/Makefile net/sunrpc/xprtrdma/backchannel.c net/sunrpc/xprtrdma/transport.c +2 more+309 -120 replies
11/16xprtrdma: Pre-allocate Work Requests for backchannelnet/sunrpc/xprtrdma/backchannel.c net/sunrpc/xprtrdma/verbs.c net/sunrpc/xprtrdma/xprt_rdma.h+26 -20 replies
12/16xprtrdma: Add support for sending backward direction RPC repliesnet/sunrpc/xprtrdma/backchannel.c net/sunrpc/xprtrdma/rpc_rdma.c net/sunrpc/xprtrdma/xprt_rdma.h+51 -00 replies
13/16xprtrdma: Handle incoming backward direction RPC callsnet/sunrpc/xprtrdma/backchannel.c net/sunrpc/xprtrdma/rpc_rdma.c net/sunrpc/xprtrdma/xprt_rdma.h+161 -00 replies
14/16svcrdma: Add backward direction service for RPC/RDMA transportinclude/linux/sunrpc/svc_rdma.h include/linux/sunrpc/xprt.h net/sunrpc/xprtrdma/svc_rdma.c +1 more+70 -10 replies
15/16SUNRPC: Remove the TCP-only restriction in bc_svc_process()net/sunrpc/svc.c+0 -50 replies
16/16NFS: Enable client side NFSv4.1 backchannel to use other transportsfs/nfs/callback.c include/linux/sunrpc/xprt.h net/sunrpc/xprtrdma/backchannel.c +3 more+45 -323 replies

Reviews trailers per patch

15 of 16 patches have a Reviewed-by or Acked-by.

PatchSagi GrimbergDevesh SharmaJ. Bruce Fields
1/16R-b T-b
2/16R-b R-b T-b
3/16R-b R-b T-b
4/16R-b R-b T-b
5/16R-b R-b T-b
6/16R-b T-b
7/16R-b T-b
8/16R-b T-b
9/16R-b T-b
10/16R-b T-b
11/16R-b T-b
12/16R-b T-b
13/16R-b T-b
14/16R-b T-b A-b
15/16R-b T-b
16/16

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 00/16] NFS/RDMA patches for merging into v4.4

Introduce client-side support for bi-directional RPC/RDMA. Bi-directional RPC/RDMA is a pre-requisite for NFSv4.1 on RDMA transports.

Handle all RPC/RDMA replies in a work queue instead of a tasklet. This is a pre-requisite to support NFS/RDMA with Kerberos and other important changes.

Also available in the "nfs-rdma-for-4.4" topic branch of this git repo:

git://git.linux-nfs.org/projects/cel/cel-2.6.git

Or for browsing:

http://git.linux-nfs.org/?p=cel/cel-2.6.git;a=log;h=refs/heads/nfs-rdma-for-4.4

Changes since v3:
- Rebased on v4.3-rc6
- Removed partial backchannel support I accidentally introduced in UDP and local transports
- Addressed Trond's review comment on "Enable client side NFSv4.1 backchannel to use other transports." Lightly tested with TCP.

Changes since v2:
- Rebased on v4.3-rc5
- Updated Reviewed-by: and Tested-by: tags
- Some interop testing at NFS Bake-a-thon

Changes since v1:
- Dropped "RFC" in Subject: line
- Rebased on v4.3-rc4 + Steve W's recent fixes
- NFS Server-side backchannel support postponed
- "xprtrdma: Replace global lkey" dropped, already merged
- Addressed Sagi's comments on "Replace send and receive arrays"
- Addressed Jason's comment regarding ib_req_notify_cq return code
- Moved RPC/RDMA reply handling into a work queue

---

Chuck Lever (16):
xprtrdma: Enable swap-on-NFS/RDMA
xprtrdma: Re-arm after missed events
xprtrdma: Prevent loss of completion signals
xprtrdma: Refactor reply handler error handling
xprtrdma: Replace send and receive arrays
xprtrdma: Use workqueue to process RPC/RDMA replies
xprtrdma: Remove reply tasklet
xprtrdma: Saving IRQs no longer needed for rb_lock
SUNRPC: Abstract backchannel operations
xprtrdma: Pre-allocate backward rpc_rqst and send/receive buffers
xprtrdma: Pre-allocate Work Requests for backchannel
xprtrdma: Add support for sending backward direction RPC replies
xprtrdma: Handle incoming backward direction RPC calls
svcrdma: Add backward direction service for RPC/RDMA transport
SUNRPC: Remove the TCP-only restriction in bc_svc_process()
NFS: Enable client side NFSv4.1 backchannel to use other transports

 fs/nfs/callback.c                        |   40 +--
 include/linux/sunrpc/bc_xprt.h           |    5 
 include/linux/sunrpc/svc_rdma.h          |    6 
 include/linux/sunrpc/xprt.h              |    8 +
 net/sunrpc/backchannel_rqst.c            |   24 +-
 net/sunrpc/svc.c                         |    5 
 net/sunrpc/xprtrdma/Makefile             |    1 
 net/sunrpc/xprtrdma/backchannel.c        |  394 +++++++++++++++++++++++++
 net/sunrpc/xprtrdma/rpc_rdma.c           |  148 ++++++---
 net/sunrpc/xprtrdma/svc_rdma.c           |    6 
 net/sunrpc/xprtrdma/svc_rdma_transport.c |   58 ++++
 net/sunrpc/xprtrdma/transport.c          |   18 +
 net/sunrpc/xprtrdma/verbs.c              |  479 +++++++++++++++---------------
 net/sunrpc/xprtrdma/xprt_rdma.h          |   54 +++
 net/sunrpc/xprtsock.c                    |   17 +
 15 files changed, 927 insertions(+), 336 deletions(-)
 create mode 100644 net/sunrpc/xprtrdma/backchannel.c

--
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