netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Send RPC-on-TCP with one sock_sendmsg() call
@ 2023-07-14 18:10 Chuck Lever
  2023-07-14 18:10 ` [PATCH v2 1/4] SUNRPC: Convert svc_tcp_sendmsg to use bio_vecs directly Chuck Lever
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Chuck Lever @ 2023-07-14 18:10 UTC (permalink / raw)
  To: linux-nfs, netdev; +Cc: Chuck Lever, David Howells, dhowells

After some discussion with David Howells at LSF/MM 2023, we arrived
at a plan to use a single sock_sendmsg() call for transmitting an
RPC message on socket-based transports. This is an initial part of
the transition to support handling folios with file content, but it
has scalability benefits as well.

This series passes the usual set of NFS-based tests. I've found no
behavior regressions so far. From the netdev folks, I'm interested
to know if this approach is sensible. The next step is performance
benchmarking.


Changes since RFC:
* Moved xdr_buf-to-bio_vec array helper to generic XDR code
* Added bio_vec array bounds-checking
* Re-ordered patches

---

Chuck Lever (4):
      SUNRPC: Convert svc_tcp_sendmsg to use bio_vecs directly
      SUNRPC: Send RPC message on TCP with a single sock_sendmsg() call
      SUNRPC: Convert svc_udp_sendto() to use the per-socket bio_vec array
      SUNRPC: Use a per-transport receive bio_vec array


 include/linux/sunrpc/svc.h     |   1 -
 include/linux/sunrpc/svcsock.h |   7 +++
 include/linux/sunrpc/xdr.h     |   2 +
 net/sunrpc/svcsock.c           | 111 ++++++++++++++-------------------
 net/sunrpc/xdr.c               |  50 +++++++++++++++
 5 files changed, 107 insertions(+), 64 deletions(-)

--
Chuck Lever


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

end of thread, other threads:[~2023-08-14 13:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-14 18:10 [PATCH v2 0/4] Send RPC-on-TCP with one sock_sendmsg() call Chuck Lever
2023-07-14 18:10 ` [PATCH v2 1/4] SUNRPC: Convert svc_tcp_sendmsg to use bio_vecs directly Chuck Lever
2023-08-12 12:04   ` Jeff Layton
2023-08-13 16:04     ` Chuck Lever
2023-08-14 12:56     ` Mkrtchyan, Tigran
2023-07-14 18:10 ` [PATCH v2 2/4] SUNRPC: Send RPC message on TCP with a single sock_sendmsg() call Chuck Lever
2023-07-14 18:10 ` [PATCH v2 3/4] SUNRPC: Convert svc_udp_sendto() to use the per-socket bio_vec array Chuck Lever
2023-07-14 18:10 ` [PATCH v2 4/4] SUNRPC: Use a per-transport receive " 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).