From 712e04e8466faf5e770377cc9dcc8022ec2b05b7 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Tue, 6 Jun 2023 18:52:40 +0100 Subject: [PATCH] LU-16879 mke2fs: disable metadata_csum_seed/orphan_file 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 Change-Id: Ie1ad5bd485bdcdc65602a537790cd7c0ecf9a509 Reviewed-on: https://review.whamcloud.com/c/tools/e2fsprogs/+/51240 Tested-by: jenkins Reviewed-by: Li Dongyang Reviewed-by: Artur Novik --- misc/mke2fs.conf.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/mke2fs.conf.in b/misc/mke2fs.conf.in index b7fc95d..0aa3029 100644 --- a/misc/mke2fs.conf.in +++ b/misc/mke2fs.conf.in @@ -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 -- 1.8.3.1