From: Mike Snitzer <snitzer@kernel.org>
To: Tom Talpey <tom@talpey.com>
Cc: Chuck Lever <cel@kernel.org>, NeilBrown <neil@brown.name>,
Jeff Layton <jlayton@kernel.org>,
Olga Kornievskaia <okorniev@redhat.com>,
Dai Ngo <dai.ngo@oracle.com>,
linux-nfs@vger.kernel.org, Chuck Lever <chuck.lever@oracle.com>
Subject: Re: [RFC PATCH] NFSD: Make FILE_SYNC WRITEs comply with spec
Date: Wed, 22 Oct 2025 14:39:30 -0400 [thread overview]
Message-ID: <aPkk4qNNqGKKDiog@kernel.org> (raw)
In-Reply-To: <2d204966-abd4-4aa2-90ed-ffd69f059384@talpey.com>
On Wed, Oct 22, 2025 at 02:25:42PM -0400, Tom Talpey wrote:
> On 10/22/2025 1:46 PM, Mike Snitzer wrote:
> > On Wed, Oct 22, 2025 at 01:22:52PM -0400, Tom Talpey wrote:
> > > There needs to be some statement of the performance consequences of
> > > removing this "optimization". I'm going to predict it's significant
> > > on rotating media, and should not go unmeasured.
> >
> > I agree that rotational storage will likely see an impact. But
> > Linux's more recent (now like 14 years ago) FLUSH+FUA rework really
> > helped improve things -- that was a major undertaking where Christoph,
> > Jens and others really did a fantastic job of breathing new life into
> > Linux performance on modern rotational storage.
>
> I agree, but I think honesty requires it to be measured. Writing
> the metadata has to wait for the data to make it to the same storage,
> this can roughly double the total latency. If it's small (NVMe), great.
>
> This kind of "optimization" was tried by pretty much every server
> vendor in the early NFSv3 days, I recall many amusing scenes at
> old Connectathons where the schemes, or completely unaware servers
> were exposed. There was no place to hide when operation latencies
> were measured in tens of milliseconds. Same game today, just shifted.
>
> > Related blast from the past: https://lwn.net/Articles/457667/
> >
> > My point: may not be as grim as we think...
> > but there is a difference between SATA rotational storage and
> > "enterprise" rotational storage (e.g. NetApp or EMC fronted by
> > elaborate caching that is configured to report wbc=0 because they have
> > battery backed cache)
>
> Yep. But this is upstream, right? It can't assume.
Correct, but catering to really old and slow rotational storage isn't
(or shouldn't be) a priority.
> To be clear - I totally agree with the change. Only concern is
> stating why it's so important, in the face of performance.
Yes. In the end, data safety is priority 1, eeking out best
performance is secondary. I think all of us can agree on that (even
those who have really old/slow rotational storage that will get
whiplash from this change).
Mike
next prev parent reply other threads:[~2025-10-22 18:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-22 16:22 [RFC PATCH] NFSD: Make FILE_SYNC WRITEs comply with spec Chuck Lever
2025-10-22 17:22 ` Tom Talpey
2025-10-22 17:46 ` Mike Snitzer
2025-10-22 18:25 ` Tom Talpey
2025-10-22 18:39 ` Mike Snitzer [this message]
2025-10-23 6:39 ` Christoph Hellwig
2025-10-22 17:27 ` Mike Snitzer
2025-10-28 22:28 ` Dave Chinner
2025-10-23 6:38 ` Christoph Hellwig
2025-10-23 12:46 ` Chuck Lever
2025-10-23 13:34 ` Christoph Hellwig
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=aPkk4qNNqGKKDiog@kernel.org \
--to=snitzer@kernel.org \
--cc=cel@kernel.org \
--cc=chuck.lever@oracle.com \
--cc=dai.ngo@oracle.com \
--cc=jlayton@kernel.org \
--cc=linux-nfs@vger.kernel.org \
--cc=neil@brown.name \
--cc=okorniev@redhat.com \
--cc=tom@talpey.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.