Linux NFS development
 help / color / mirror / Atom feed
From: Mike Snitzer <snitzer@kernel.org>
To: Anna Schumaker <anna.schumaker@oracle.com>
Cc: Trond Myklebust <trondmy@kernel.org>, linux-nfs@vger.kernel.org
Subject: [PATCH 0/2] SUNRPC: keep the client's sends on their node, and stop copying them
Date: Thu, 12 Nov 2026 19:16:09 -0500	[thread overview]
Message-ID: <20261113001611.90519-1-snitzer@kernel.org> (raw)

Two changes to the RPC client's TCP send path, based on
anna-nfs/linux-next.

The first adds WQ_SYSFS to rpciod and xprtiod, so that an administrator
can make their affinity strict and keep their work off far NUMA nodes.
Nothing changes until the sysfs attributes are written.

The second sends a request's pages to the TCP socket with
MSG_SPLICE_PAGES on its first transmission, as the server already does,
instead of copying them.  A retransmission is still copied.

Mike Snitzer (2):
  SUNRPC: Make rpciod and xprtiod visible in sysfs
  SUNRPC: Splice a request's pages into the TCP socket

 net/sunrpc/sched.c    |  4 ++--
 net/sunrpc/socklib.c  | 26 ++++++++++++++++++++++----
 net/sunrpc/xprtsock.c |  9 +++++++++
 3 files changed, 33 insertions(+), 6 deletions(-)

-- 
2.52.0


             reply	other threads:[~2026-11-13  0:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-13  0:16 Mike Snitzer [this message]
2026-11-13  0:16 ` [PATCH 1/2] SUNRPC: Make rpciod and xprtiod visible in sysfs Mike Snitzer
2026-11-13  0:16 ` [PATCH 2/2] SUNRPC: Splice a request's pages into the TCP socket Mike Snitzer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261113001611.90519-1-snitzer@kernel.org \
    --to=snitzer@kernel.org \
    --cc=anna.schumaker@oracle.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=trondmy@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox