Linux NFS development
 help / color / mirror / Atom feed
* [PATCH 0/2] NFSv4/flexfiles: fix unwanted in-band IO fallback from DS to MDS
@ 2026-06-04 20:24 Mike Snitzer
  2026-06-04 20:24 ` [PATCH 1/2] NFSv4/flexfiles: honor FF_FLAGS_NO_IO_THRU_MDS on fatal DS connect errors Mike Snitzer
  2026-06-04 20:24 ` [PATCH 2/2] NFSv4/flexfiles: honor FF_FLAGS_NO_IO_THRU_MDS in pg_get_mirror_count_write Mike Snitzer
  0 siblings, 2 replies; 4+ messages in thread
From: Mike Snitzer @ 2026-06-04 20:24 UTC (permalink / raw)
  To: Trond Myklebust, Anna Schumaker; +Cc: linux-nfs

If FF_FLAGS_NO_IO_THRU_MDS flag is set then NFSv4 flexfiles should
never fallback to trying to issue IO directly to the MDS.

These patches fix 2 locations where FF_FLAGS_NO_IO_THRU_MDS should
inform the flexfiles client's behavior but it isn't considered.

A Hammerspace test that caused the time between layout return and get
to be much longer widened exposure for unwanted in-band IO to be
issued by flexfiles. The test allowed for these fixes to be developed
and the test now passes.

All review appreciated.

Thanks,
Mike

Mike Snitzer (2):
  NFSv4/flexfiles: honor FF_FLAGS_NO_IO_THRU_MDS on fatal DS connect errors
  NFSv4/flexfiles: honor FF_FLAGS_NO_IO_THRU_MDS in pg_get_mirror_count_write

 fs/nfs/flexfilelayout/flexfilelayout.c | 29 ++++++++++++++++++++++++++
 fs/nfs/flexfilelayout/flexfilelayout.h | 16 ++++++++++++++
 2 files changed, 45 insertions(+)

-- 
2.44.0


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

end of thread, other threads:[~2026-06-09 17:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-04 20:24 [PATCH 0/2] NFSv4/flexfiles: fix unwanted in-band IO fallback from DS to MDS Mike Snitzer
2026-06-04 20:24 ` [PATCH 1/2] NFSv4/flexfiles: honor FF_FLAGS_NO_IO_THRU_MDS on fatal DS connect errors Mike Snitzer
2026-06-09 17:14   ` Mkrtchyan, Tigran
2026-06-04 20:24 ` [PATCH 2/2] NFSv4/flexfiles: honor FF_FLAGS_NO_IO_THRU_MDS in pg_get_mirror_count_write Mike Snitzer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox