summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorluojiajun <luojiajun3@huawei.com>2019-03-01 00:30:00 -0500
committerTheodore Ts'o <tytso@mit.edu>2019-03-01 00:30:00 -0500
commit6e876c3dd205d30b0db6850e97a03d75457df007 (patch)
tree39e5b66c43ceb457c42bf71e60afe570b9d9d388 /Documentation
parent7bd75230b43727b258a4f7a59d62114cffe1b6c8 (diff)
jbd2: fix invalid descriptor block checksum
In jbd2_journal_commit_transaction(), if we are in abort mode, we may flush the buffer without setting descriptor block checksum by goto start_journal_io. Then fs is mounted, jbd2_descriptor_block_csum_verify() failed. [ 271.379811] EXT4-fs (vdd): shut down requested (2) [ 271.381827] Aborting journal on device vdd-8. [ 271.597136] JBD2: Invalid checksum recovering block 22199 in log [ 271.598023] JBD2: recovery failed [ 271.598484] EXT4-fs (vdd): error loading journal Fix this problem by keep setting descriptor block checksum if the descriptor buffer is not NULL. This checksum problem can be reproduced by xfstests generic/388. Signed-off-by: luojiajun <luojiajun3@huawei.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions