aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2020-11-27 12:34:00 +0100
committerTheodore Ts'o <[email protected]>2020-12-22 13:07:49 -0500
commitc92dc856848f32781e37b88c1b7f875e274f5efb (patch)
tree9c29b87a30474c2ec17e3c7265997fdd26e24596 /tools/perf/scripts/python/exported-sql-viewer.py
parent02a7780e4d2fcf438ac6773bc469e7ada2af56be (diff)
ext4: defer saving error info from atomic context
When filesystem inconsistency is detected with group locked, we currently try to modify superblock to store error there without blocking. However this can cause superblock checksum failures (or DIF/DIX failure) when the superblock is just being written out. Make error handling code just store error information in ext4_sb_info structure and copy it to on-disk superblock only in ext4_commit_super(). In case of error happening with group locked, we just postpone the superblock flushing to a workqueue. [ Added fixup so that s_first_error_* does not get updated after the file system is remounted. Also added fix for syzbot failure. - Ted ] Signed-off-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]> Cc: Hillf Danton <[email protected]> Reported-by: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions