diff options
author | Josef Bacik <[email protected]> | 2020-07-30 11:18:09 -0400 |
---|---|---|
committer | David Sterba <[email protected]> | 2020-08-10 18:58:35 +0200 |
commit | faa008899a4db21a2df99833cb4ff6fa67009a20 (patch) | |
tree | 30291d3338c3bb21099a374f9f28fa6dd79adc70 /scripts/gdb/linux/modules.py | |
parent | 4f26433e9b3eb7a55ed70d8f882ae9cd48ba448b (diff) |
btrfs: make sure SB_I_VERSION doesn't get unset by remount
There's some inconsistency around SB_I_VERSION handling with mount and
remount. Since we don't really want it to be off ever just work around
this by making sure we don't get the flag cleared on remount.
There's a tiny cpu cost of setting the bit, otherwise all changes to
i_version also change some of the times (ctime/mtime) so the inode needs
to be synced. We wouldn't save anything by disabling it.
Reported-by: Eric Sandeen <[email protected]>
CC: [email protected] # 5.4+
Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: David Sterba <[email protected]>
[ add perf impact analysis ]
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions