linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/7] Server-side NFS/RDMA changes for v4.11
@ 2017-01-24 20:34 Chuck Lever
  2017-01-24 20:34 ` [PATCH v1 1/7] svcrdma: Another sendto chunk list parsing update Chuck Lever
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Chuck Lever @ 2017-01-24 20:34 UTC (permalink / raw)
  To: linux-rdma, linux-nfs

I'm dividing up the nfsd-rdma-rw-api series. For v4.11, here are the
first patches in that series. They should be non-controversial. The
remaining patches are still under review.

These are largely clean-ups, except for the last patch. Switching
completion polling from soft IRQ to a worker thread has a few
benefits:

- svcrdma's completion handlers invoke svc_xprt_put(). We discovered
recently svc_xprt_put() is supposed to be called only in a process
context. This will become more important when NFS/RDMA supports
multi-path.

- eventually we'd like to allocate pages for RDMA Read in the
completion handler, and not defer RDMA Read to svc_rdma_recvfrom.
Using GFP_KERNEL can sleep, which is not allowed in soft IRQ context

- several places where BH's are disabled can be converted to simple
spin_locks.


Available in the "nfsd-rdma-for-4.11" 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/nfsd-rdma-for-4.11


---

Chuck Lever (7):
      svcrdma: Another sendto chunk list parsing update
      svcrdma: Clean up RPC-over-RDMA Reply header encoder
      svcrdma: Clean up RPC-over-RDMA Call header decoder
      svcrdma: Clean up backchannel send header encoding
      svcrdma: Remove unused sc_dto_q field
      svcrdma: Combine list fields in struct svc_rdma_op_ctxt
      svcrdma: Poll CQs in "workqueue" mode


 include/linux/sunrpc/rpc_rdma.h            |    9 +
 include/linux/sunrpc/svc_rdma.h            |   17 +
 net/sunrpc/xprtrdma/svc_rdma_backchannel.c |   17 +
 net/sunrpc/xprtrdma/svc_rdma_marshal.c     |  320 +++++++++++-----------------
 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c    |   20 +-
 net/sunrpc/xprtrdma/svc_rdma_sendto.c      |   13 -
 net/sunrpc/xprtrdma/svc_rdma_transport.c   |   61 +++--
 7 files changed, 199 insertions(+), 258 deletions(-)

--
Chuck Lever

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-01-24 20:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-24 20:34 [PATCH v1 0/7] Server-side NFS/RDMA changes for v4.11 Chuck Lever
2017-01-24 20:34 ` [PATCH v1 1/7] svcrdma: Another sendto chunk list parsing update Chuck Lever
2017-01-24 20:34 ` [PATCH v1 2/7] svcrdma: Clean up RPC-over-RDMA Reply header encoder Chuck Lever
2017-01-24 20:34 ` [PATCH v1 3/7] svcrdma: Clean up RPC-over-RDMA Call header decoder Chuck Lever
2017-01-24 20:35 ` [PATCH v1 4/7] svcrdma: Clean up backchannel send header encoding Chuck Lever
2017-01-24 20:35 ` [PATCH v1 5/7] svcrdma: Remove unused sc_dto_q field Chuck Lever
2017-01-24 20:35 ` [PATCH v1 6/7] svcrdma: Combine list fields in struct svc_rdma_op_ctxt Chuck Lever
2017-01-24 20:35 ` [PATCH v1 7/7] svcrdma: Poll CQs in "workqueue" mode Chuck Lever

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).