All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH nfs-utils 0/4] exports: add support for new riomode= and wiomode= export options
@ 2026-10-27 16:50 Jeff Layton
  2026-10-27 16:50 ` [PATCH nfs-utils 1/4] exportfs/mountd/exportd: track the svc_export policy highest attribute Jeff Layton
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jeff Layton @ 2026-10-27 16:50 UTC (permalink / raw)
  To: Steve Dickson, Chuck Lever, NeilBrown, Olga Kornievskaia, Dai Ngo,
	Tom Talpey, Trond Myklebust, Anna Schumaker, Mike Snitzer
  Cc: linux-nfs, Jeff Layton

This patchset adds support for riomode= and wiomode= export options to
exportd and mountd. This is the companion patchset to [1].

The last patch in this adds a new nfsd-iomode-advisor script that
watches various stats on the server and advises the admin what mode to
use.

I consider the advisor optional as it was largely vibe-coded. I'm not
sure I'd trust its advice that far, but it's probably better than
guessing.

[1]: https://lore.kernel.org/linux-nfs/20261027-export-iomode-v1-0-262ed932a036@kernel.org/

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
Jeff Layton (4):
      exportfs/mountd/exportd: track the svc_export policy highest attribute
      exports: Add riomode= and wiomode= export options
      exportfs: Display and document riomode= and wiomode=
      nfsd-iomode-advisor: recommend riomode= and wiomode= for an export

 configure.ac                                      |    3 +-
 support/export/cache.c                            |   59 +-
 support/export/export_policy.c                    |   29 +-
 support/export/v4root.c                           |    2 +
 support/include/exportfs.h                        |    3 +
 support/include/nfsd_netlink.h                    |   12 +
 support/include/nfslib.h                          |   14 +
 support/nfs/exports.c                             |   51 +
 tools/Makefile.am                                 |    2 +-
 tools/nfsd-iomode-advisor/Makefile.am             |   14 +
 tools/nfsd-iomode-advisor/nfsd-iomode-advisor.man |  232 ++++
 tools/nfsd-iomode-advisor/nfsd-iomode-advisor.py  | 1198 +++++++++++++++++++++
 utils/exportfs/exportfs.c                         |   34 +
 utils/exportfs/exports.man                        |   22 +
 14 files changed, 1671 insertions(+), 4 deletions(-)
---
base-commit: 0ed4324cbbb8020039d338d597c1422a980f7085
change-id: 20261014-master-b5afd69e3772

Best regards,
-- 
Jeff Layton <jlayton@kernel.org>


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

end of thread, other threads:[~2026-10-27 16:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-27 16:50 [PATCH nfs-utils 0/4] exports: add support for new riomode= and wiomode= export options Jeff Layton
2026-10-27 16:50 ` [PATCH nfs-utils 1/4] exportfs/mountd/exportd: track the svc_export policy highest attribute Jeff Layton
2026-10-27 16:50 ` [PATCH nfs-utils 2/4] exports: Add riomode= and wiomode= export options Jeff Layton
2026-10-27 16:50 ` [PATCH nfs-utils 3/4] exportfs: Display and document riomode= and wiomode= Jeff Layton
2026-10-27 16:50 ` [PATCH nfs-utils 4/4] nfsd-iomode-advisor: recommend riomode= and wiomode= for an export Jeff Layton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.