aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2022-08-24 18:03:49 +0200
committerTheodore Ts'o <tytso@mit.edu>2022-09-30 23:45:00 -0400
commit1ff20307393e17dc57fde62226df625a3a3c36e9 (patch)
tree15cc0dd048e97c71db63f24a040464993985c408 /fs/jbd2/commit.c
parentcbfecb927f429a6fa613d74b998496bd71e4438a (diff)
downloadlinux-1ff20307393e17dc57fde62226df625a3a3c36e9.tar.gz
linux-1ff20307393e17dc57fde62226df625a3a3c36e9.tar.bz2
linux-1ff20307393e17dc57fde62226df625a3a3c36e9.zip
ext4: unconditionally enable the i_version counter
The original i_version implementation was pretty expensive, requiring a log flush on every change. Because of this, it was gated behind a mount option (implemented via the MS_I_VERSION mountoption flag). Commit ae5e165d855d (fs: new API for handling inode->i_version) made the i_version flag much less expensive, so there is no longer a performance penalty from enabling it. xfs and btrfs already enable it unconditionally when the on-disk format can support it. Have ext4 ignore the SB_I_VERSION flag, and just enable it unconditionally. While we're in here, mark the i_version mount option Opt_removed. [ Removed leftover bits of i_version from ext4_apply_options() since it now can't ever be set in ctx->mask_s_flags -- lczerner ] Cc: stable@kernel.org Cc: Dave Chinner <david@fromorbit.com> Cc: Benjamin Coddington <bcodding@redhat.com> Cc: Christoph Hellwig <hch@infradead.org> Cc: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Lukas Czerner <lczerner@redhat.com> Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20220824160349.39664-3-lczerner@redhat.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions