diff options
| author | Jeff Layton <[email protected]> | 2022-08-24 16:03:49 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2022-10-01 03:45:00 +0000 |
| commit | 1ff20307393e17dc57fde62226df625a3a3c36e9 (patch) | |
| tree | 15cc0dd048e97c71db63f24a040464993985c408 /fs/jbd2/commit.c | |
| parent | fs: record I_DIRTY_TIME even if inode already has I_DIRTY_INODE (diff) | |
| download | kernel-1ff20307393e17dc57fde62226df625a3a3c36e9.tar.gz kernel-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: [email protected]
Cc: Dave Chinner <[email protected]>
Cc: Benjamin Coddington <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Darrick J. Wong <[email protected]>
Signed-off-by: Jeff Layton <[email protected]>
Signed-off-by: Lukas Czerner <[email protected]>
Reviewed-by: Christian Brauner (Microsoft) <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
