[PATCH 0/3] NFSD: additional NFSD Direct changes

Mike Snitzer
2025-11-04T16:42:30Z

Hi,

This series builds ontop of what has been staged in nfsd-testing for
NFSD Direct.

For now, I elected to use io_cache_write to expose control over
stable_how when NFSD Direct is used, rather than a per-export control
that can work with any NFSD IO mode. It seemed best to approach it
this way until/unless there is a clear associated win.

But the benchmarking of stable_how variants is still pending
(performance cluster that's required to do the benchmarking is tied up
with higher priority work at the moment, so will need to circle back
to that).

Thanks,
Mike

Mike Snitzer (3):
nfsd: avoid using DONTCACHE for misaligned DIO's buffered IO fallback
NFSD: add new NFSD_IO_DIRECT variants that may override stable_how
NFSD: update Documentation/filesystems/nfs/nfsd-io-modes.rst

.../filesystems/nfs/nfsd-io-modes.rst | 58 ++++++++-------
fs/nfsd/debugfs.c | 7 +-
fs/nfsd/nfsd.h | 2 +
fs/nfsd/vfs.c | 74 ++++++++++++++-----
4 files changed, 97 insertions(+), 44 deletions(-)

--
2.44.0