Linux NFS development
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Eliminate the RQ_SPLICE_OK flag
@ 2023-11-17 22:14 Chuck Lever
  2023-11-17 22:14 ` [PATCH v2 1/4] SUNRPC: Add a server-side API for retrieving an RPC's pseudoflavor Chuck Lever
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Chuck Lever @ 2023-11-17 22:14 UTC (permalink / raw)
  To: linux-nfs

The server's splice read path is used by the majority of exported
filesystems. At last month's bake-a-thon, we tossed around some
ideas about how to improve benchmarking and test coverage of the NFS
server's vectored-read path, which is a fallback.

One way to do this would be to expose a switch that can be set by
test harnesses to disable splice reads.

As an initial step, hoist RQ_SPLICE_OK out of the RPC layer. Later,
I'll add a netlink command to as a switch between "use splice if
possible" and "always use vectored reads". (I don't want to collide
with the work Lorenzo is doing).

Changes since v1:
- Address "undefined reference to `svcauth_gss_flavor'"

---

Chuck Lever (4):
      SUNRPC: Add a server-side API for retrieving an RPC's pseudoflavor
      NFSD: Replace RQ_SPLICE_OK in nfsd_read()
      NFSD: Modify NFSv4 to use nfsd_read_splice_ok()
      SUNRPC: Remove RQ_SPLICE_OK


 fs/nfsd/nfs4proc.c                |  7 +++++--
 fs/nfsd/nfs4xdr.c                 | 13 ++++++++-----
 fs/nfsd/vfs.c                     | 26 +++++++++++++++++++++++++-
 fs/nfsd/vfs.h                     |  1 +
 fs/nfsd/xdr4.h                    |  1 +
 include/linux/sunrpc/svc.h        |  2 --
 include/linux/sunrpc/svcauth.h    |  7 ++++++-
 include/trace/events/sunrpc.h     |  1 -
 net/sunrpc/auth_gss/svcauth_gss.c | 16 ++++++----------
 net/sunrpc/svc.c                  |  2 --
 net/sunrpc/svcauth.c              | 16 ++++++++++++++++
 11 files changed, 68 insertions(+), 24 deletions(-)

--
Chuck Lever


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

end of thread, other threads:[~2023-11-27 20:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-17 22:14 [PATCH v2 0/4] Eliminate the RQ_SPLICE_OK flag Chuck Lever
2023-11-17 22:14 ` [PATCH v2 1/4] SUNRPC: Add a server-side API for retrieving an RPC's pseudoflavor Chuck Lever
2023-11-17 22:14 ` [PATCH v2 2/4] NFSD: Replace RQ_SPLICE_OK in nfsd_read() Chuck Lever
2023-11-17 22:14 ` [PATCH v2 3/4] NFSD: Modify NFSv4 to use nfsd_read_splice_ok() Chuck Lever
2023-11-17 22:14 ` [PATCH v2 4/4] SUNRPC: Remove RQ_SPLICE_OK Chuck Lever
2023-11-27 20:21 ` [PATCH v2 0/4] Eliminate the RQ_SPLICE_OK flag Jeff Layton

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