diff options
author | Zhang Yi <yi.zhang@huawei.com> | 2024-01-19 07:11:54 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2024-02-22 04:39:38 +0100 |
commit | 68ee261fb15457ecb17e3683cb4e6a4792ca5b71 (patch) | |
tree | dec0901a8864c2b3909898a74ef76701bccbef27 /fs/ext4/xattr_trusted.c | |
parent | ext4: fix the comment of ext4_map_blocks()/ext4_ext_map_blocks() (diff) | |
download | linux-68ee261fb15457ecb17e3683cb4e6a4792ca5b71.tar.xz linux-68ee261fb15457ecb17e3683cb4e6a4792ca5b71.zip |
ext4: add a hint for block bitmap corrupt state in mb_groups
If one group is marked as block bitmap corrupted, its free blocks cannot
be used and its free count is also deducted from the global
sbi->s_freeclusters_counter. User might be confused about the absent
free space because we can't query the information about corrupted block
groups except unreliable error messages in syslog. So add a hint to show
block bitmap corrupted groups in mb_groups.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20240119061154.1525781-1-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/xattr_trusted.c')
0 files changed, 0 insertions, 0 deletions