Whamcloud - gitweb
LU-16879 mke2fs: disable metadata_csum_seed/orphan_file 40/51240/5
authorAndreas Dilger <adilger@whamcloud.com>
Tue, 6 Jun 2023 17:52:40 +0000 (18:52 +0100)
committerLi Dongyang <dongyangli@ddn.com>
Thu, 22 Jun 2023 03:42:49 +0000 (03:42 +0000)
Disable the new metadata_csum_seed and orphan_file features in
/etc/mke2fs.conf by default, otherwise some older kernels cannot
mount ext4 filesystems formatted with these options.

Also disable metadata_csum by default, since Lustre MDTs do not
work with this option (it conflicts with dir_data), and it's
not considered totally stable before kernel 3.18.

Fixes: fe341d59e ("mke2fs.conf: enable the metadata_csum_seed and orphan_file features by default")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ie1ad5bd485bdcdc65602a537790cd7c0ecf9a509
Reviewed-on: https://review.whamcloud.com/c/tools/e2fsprogs/+/51240
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Artur Novik <anovik@ddn.com>
misc/mke2fs.conf.in

index b7fc95d..0aa3029 100644 (file)
@@ -11,7 +11,7 @@
                features = has_journal
        }
        ext4 = {
-               features = has_journal,extent,huge_file,flex_bg,metadata_csum,metadata_csum_seed,64bit,dir_nlink,extra_isize,orphan_file
+               features = has_journal,extent,huge_file,flex_bg,64bit,dir_nlink,extra_isize
        }
        small = {
                blocksize = 1024