NFS: LOCALIO fixes and FF_FLAGS_NO_IO_THRU_MDS fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | NFS/localio: fix nfs_local_dio_misaligned tracepointfs/ fs/ | +5 | 0 replies | |
| 2/6 | NFS/localio: detect a short read or write before the iterator has movedfs/ | +10 | 0 replies | |
| 3/6 | NFS/localio: report the stability a DIO WRITE actually hasfs/ | +13 | 0 replies | |
| 4/6 | pNFS/flexfiles: honor FF_FLAGS_NO_IO_THRU_MDS over the mdsthreshold hintfs/ fs/ fs/ | +44 | 0 replies | |
| 5/6 | pNFS/flexfiles: don't read through MDS when previous layout forbid itfs/ | +26 | 0 replies | |
| 6/6 | pNFS/flexfiles: don't reset to MDS for v4 error when previous layout forbid itfs/ | +17 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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