Skip to content

NFS: LOCALIO fixes and FF_FLAGS_NO_IO_THRU_MDS fixes

Mike Snitzer linux-nfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6NFS/localio: fix nfs_local_dio_misaligned tracepointfs/nfs/localio.c fs/nfs/nfstrace.h+5 -20 replies
2/6NFS/localio: detect a short read or write before the iterator has movedfs/nfs/localio.c+10 -50 replies
3/6NFS/localio: report the stability a DIO WRITE actually hasfs/nfs/localio.c+13 -10 replies
4/6pNFS/flexfiles: honor FF_FLAGS_NO_IO_THRU_MDS over the mdsthreshold hintfs/nfs/flexfilelayout/flexfilelayout.c fs/nfs/internal.h fs/nfs/pnfs.c+44 -20 replies
5/6pNFS/flexfiles: don't read through MDS when previous layout forbid itfs/nfs/flexfilelayout/flexfilelayout.c+26 -120 replies
6/6pNFS/flexfiles: don't reset to MDS for v4 error when previous layout forbid itfs/nfs/flexfilelayout/flexfilelayout.c+17 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/6] NFS: LOCALIO fixes and FF_FLAGS_NO_IO_THRU_MDS fixes

Hi,

The first LOCALIO tracing fix is pretty old, just reposting it. The other 2 LOCALIO fixes fell out as a side-effect of other NFSD/LOCALIO work I was doing.

The FF_FLAGS_NO_IO_THRU_MDS fixes focus on the cases where a previous layout set FF_FLAGS_NO_IO_THRU_MDS but that layout was returned and there was no recourse unless that context to prefer not issuing IO back to the MDS is saved in-core and consulted if/when no layout available.

All review appreciated, thanks.
Mike

Mike Snitzer (6):
NFS/localio: fix nfs_local_dio_misaligned tracepoint
NFS/localio: detect a short read or write before the iterator has moved NFS/localio: report the stability a DIO WRITE actually has pNFS/flexfiles: honor FF_FLAGS_NO_IO_THRU_MDS over the mdsthreshold hint pNFS/flexfiles: don't read through MDS when previous layout forbid it pNFS/flexfiles: don't reset to MDS for v4 error when previous layout forbid it

 fs/nfs/flexfilelayout/flexfilelayout.c | 60 ++++++++++++++++++++------
 fs/nfs/internal.h                      | 29 +++++++++++++
 fs/nfs/localio.c                       | 31 ++++++++++---
 fs/nfs/nfstrace.h                      |  5 ++-
 fs/nfs/pnfs.c                          | 12 +++++-
 5 files changed, 115 insertions(+), 22 deletions(-)
Signature · 1 line
2.44.0