aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorBaokun Li <[email protected]>2025-01-22 11:41:30 +0000
committerTheodore Ts'o <[email protected]>2025-03-13 14:16:35 +0000
commit5855c3519463e9ac4d10424bb49953047a04c602 (patch)
tree862a5c2d88f369415246b1f79dee082a1c90fc56 /fs/jbd2/commit.c
parentext4: show 'emergency_ro' when EXT4_FLAGS_EMERGENCY_RO is set (diff)
downloadkernel-5855c3519463e9ac4d10424bb49953047a04c602.tar.gz
kernel-5855c3519463e9ac4d10424bb49953047a04c602.zip
ext4: show 'shutdown' hint when ext4 is forced to shutdown
Now, if dmesg is cleared, we have no way of knowing if the file system has been shutdown. Moreover, ext4 allows directory reads even after the file system has been shutdown, so when reading a file returns -EIO, we cannot determine whether this is a hardware issue or if the file system has been shutdown. Therefore, when ext4 file system is shutdown, we're adding a 'shutdown' hint to commands like mount so users can easily check the file system's status. Signed-off-by: Baokun Li <[email protected]> Reviewed-by: Jan Kara <[email protected]> Reviewed-by: Zhang Yi <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions