From: Mike Snitzer <snitzer@kernel.org>
To: Trond Myklebust <trondmy@kernel.org>, Anna Schumaker <anna@kernel.org>
Cc: linux-nfs@vger.kernel.org
Subject: [PATCH 0/2] NFSv4/flexfiles: fix unwanted in-band IO fallback from DS to MDS
Date: Thu, 4 Jun 2026 16:24:01 -0400 [thread overview]
Message-ID: <20260604202403.20856-1-snitzer@kernel.org> (raw)
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
next reply other threads:[~2026-06-04 20:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-04 20:24 Mike Snitzer [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260604202403.20856-1-snitzer@kernel.org \
--to=snitzer@kernel.org \
--cc=anna@kernel.org \
--cc=linux-nfs@vger.kernel.org \
--cc=trondmy@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox