Whamcloud - gitweb
LU-17332 ldiskfs: do no update superblock after journal destroy 99/53499/2
authorLi Dongyang <dongyangli@ddn.com>
Tue, 19 Dec 2023 01:00:15 +0000 (12:00 +1100)
committerOleg Drokin <green@whamcloud.com>
Wed, 3 Jan 2024 03:01:29 +0000 (03:01 +0000)
commit8cdfa1d50806ff5ef165909956201592e4f11b9b
treeea4e3ffec606255022140ac1569fbb655e01df41
parent955e38051765609fe3a661035c0fab2cfca733ce
LU-17332 ldiskfs: do no update superblock after journal destroy

Trying to start a transaction after journal destroy
during umount will lead to a crash.

This patch is adding the same checks from
041340404e LU-16982 ldiskfs: Fix crash after "umount -d -f /mnt/..."
for el9 series.

Change-Id: Ibb89e9f5104b0980a8d9543561ac643322e3724d
Fixes: e27a7b33d6 ("LU-16298 ldiskfs: Periodically write ldiskfs superblock")
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53499
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Vitaliy Kuznetsov <vkuznetsov@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
ldiskfs/kernel_patches/patches/rhel9/ext4-add-periodic-superblock-update.patch