public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] svcrdma: Go back to releasing pages-under-I/O
@ 2023-06-12 14:09 Chuck Lever
  2023-06-12 14:10 ` [PATCH v2 1/5] SUNRPC: Revert cc93ce9529a6 ("svcrdma: Retain the page backing rq_res.head[0].iov_base") Chuck Lever
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Chuck Lever @ 2023-06-12 14:09 UTC (permalink / raw)
  To: linux-nfs; +Cc: Tom Talpey, Chuck Lever, linux-rdma, tom

Return to the behavior of releasing reply buffer pages as part of
sending an RPC Reply over RDMA. I measured a performance improvement
(which is documented in 4/4). Matching the page release behavior of
socket transports also means we should be able to share a little
more code between transports as MSG_SPLICE_PAGES rolls out.

Changes since v1:
- Add a related fix
- Clarify some of the patch descriptions

---

Chuck Lever (5):
      SUNRPC: Revert cc93ce9529a6 ("svcrdma: Retain the page backing rq_res.head[0].iov_base")
      SUNRPC: Revert 579900670ac7 ("svcrdma: Remove unused sc_pages field")
      svcrdma: Revert 2a1e4f21d841 ("svcrdma: Normalize Send page handling")
      svcrdma: Prevent page release when nothing was received
      SUNRPC: Optimize page release in svc_rdma_sendto()


 include/linux/sunrpc/svc_rdma.h            |  4 +-
 net/sunrpc/xprtrdma/svc_rdma_backchannel.c |  8 +---
 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c    | 12 ++---
 net/sunrpc/xprtrdma/svc_rdma_sendto.c      | 53 ++++++++++++++--------
 4 files changed, 44 insertions(+), 33 deletions(-)

--
Chuck Lever


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

end of thread, other threads:[~2023-06-12 14:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-12 14:09 [PATCH v2 0/5] svcrdma: Go back to releasing pages-under-I/O Chuck Lever
2023-06-12 14:10 ` [PATCH v2 1/5] SUNRPC: Revert cc93ce9529a6 ("svcrdma: Retain the page backing rq_res.head[0].iov_base") Chuck Lever
2023-06-12 14:24   ` Jeff Layton
2023-06-12 14:25     ` Chuck Lever III
2023-06-12 14:10 ` [PATCH v2 2/5] SUNRPC: Revert 579900670ac7 ("svcrdma: Remove unused sc_pages field") Chuck Lever
2023-06-12 14:10 ` [PATCH v2 3/5] svcrdma: Revert 2a1e4f21d841 ("svcrdma: Normalize Send page handling") Chuck Lever
2023-06-12 14:10 ` [PATCH v2 4/5] svcrdma: Prevent page release when nothing was received Chuck Lever
2023-06-12 14:10 ` [PATCH v2 5/5] SUNRPC: Optimize page release in svc_rdma_sendto() Chuck Lever
2023-06-12 14:25 ` [PATCH v2 0/5] svcrdma: Go back to releasing pages-under-I/O Jeff Layton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox