Skip to content

NFSD: additional NFSD Direct changes

Mike Snitzer linux-nfs 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 12 repliesIn review
  2. v31 of 3 patches 2 repliesSuperseded

Changes in v4 from the cover letter

- set flags_{buffered,direct} in nfsd_write_dio_iters_init()
- moving where flags_{buffered,direct} set exposed that nfsd_issue_dio_write should just be folded into nfsd_direct_write
- patch 2 was just rebased on patch 1
- patch 3 is unchanged

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3NFSD: avoid DONTCACHE for misaligned ends of misaligned DIO WRITEfs/nfsd/vfs.c+31 -422 replies
2/3NFSD: add new NFSD_IO_DIRECT variants that may override stable_howfs/nfsd/debugfs.c fs/nfsd/nfsd.h fs/nfsd/vfs.c+42 -139 replies
3/3NFSD: update Documentation/filesystems/nfs/nfsd-io-modes.rstDocumentation/filesystems/nfs/nfsd-io-modes.rst+32 -261 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/3] [PATCH 0/3] NFSD: additional NFSD Direct changes

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

changes in v4:
- set flags_{buffered,direct} in nfsd_write_dio_iters_init()
- moving where flags_{buffered,direct} set exposed that nfsd_issue_dio_write should just be folded into nfsd_direct_write
- patch 2 was just rebased on patch 1
- patch 3 is unchanged

Mike Snitzer (3):
NFSD: avoid DONTCACHE for misaligned ends of misaligned DIO WRITE
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                                 | 109 ++++++++++--------
 4 files changed, 100 insertions(+), 76 deletions(-)
Signature · 1 line
2.44.0