linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* should we make "-o iversion" the default on ext4 ?
@ 2022-07-19 13:51 Jeff Layton
  2022-07-20 14:15 ` Lukas Czerner
  2022-07-21 22:32 ` Dave Chinner
  0 siblings, 2 replies; 14+ messages in thread
From: Jeff Layton @ 2022-07-19 13:51 UTC (permalink / raw)
  To: tytso, adilger.kernel
  Cc: linux-ext4, linux-fsdevel, lczerner, Benjamin Coddington

Back in 2018, I did a patchset [1] to rework the inode->i_version
counter handling to be much less expensive, particularly when no-one is
querying for it.

Testing at the time showed that the cost of enabling i_version on ext4
was close to 0 when nothing is querying it, but I stopped short of
trying to make it the default at the time (mostly out of an abundance of
caution). Since then, we still see a steady stream of cache-coherency
problems with NFSv4 on ext4 when this option is disabled (e.g. [2]).

Is it time to go ahead and make this option the default on ext4? I don't
see a real downside to doing so, though I'm unclear on how we should
approach this. Currently the option is twiddled using MS_I_VERSION flag,
and it's unclear to me how we can reverse the sense of such a flag.

Thoughts?

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a4b7fd7d34de5765dece2dd08060d2e1f7be3b39
[2]: https://bugzilla.redhat.com/show_bug.cgi?id=2107587

-- 
Jeff Layton <jlayton@kernel.org>

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

end of thread, other threads:[~2022-07-25 16:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-19 13:51 should we make "-o iversion" the default on ext4 ? Jeff Layton
2022-07-20 14:15 ` Lukas Czerner
2022-07-20 14:38   ` Jeff Layton
2022-07-20 15:22     ` Lukas Czerner
2022-07-20 16:42       ` Jeff Layton
2022-07-21 14:06         ` Lukas Czerner
2022-07-21 17:03           ` Jeff Layton
2022-07-20 15:56     ` Benjamin Coddington
2022-07-20 16:06       ` Christoph Hellwig
2022-07-20 16:15       ` Jeff Layton
2022-07-20 16:29         ` Benjamin Coddington
2022-07-20 16:46           ` Jeff Layton
2022-07-21 22:32 ` Dave Chinner
2022-07-25 16:22   ` Jeff Layton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).