diff options
author | Jan Kara <[email protected]> | 2020-12-16 11:18:39 +0100 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2020-12-22 13:08:46 -0500 |
commit | 05c2c00f3769abb9e323fcaca70d2de0b48af7ba (patch) | |
tree | 503246bd2db7415e5552acbca2126f4a7e2a8c07 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4392fbc4bab57db3760f0fb61258cb7089b37665 (diff) |
ext4: protect superblock modifications with a buffer lock
Protect all superblock modifications (including checksum computation)
with a superblock buffer lock. That way we are sure computed checksum
matches current superblock contents (a mismatch could cause checksum
failures in nojournal mode or if an unjournalled superblock update races
with a journalled one). Also we avoid modifying superblock contents
while it is being written out (which can cause DIF/DIX failures if we
are running in nojournal mode).
Signed-off-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions