From fe341d59ee9696f66ec8cd1bf9615ee1a107824f Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Wed, 31 Aug 2022 07:07:14 -0400 Subject: [PATCH] mke2fs.conf: enable the metadata_csum_seed and orphan_file features by default The orphan_file feature is a compat feature which is first supported in the Linux kernel in 5.15. The metadata_csum_seed feature is an incompat feature which is first supported in the Linux kernel starting in the 4.4 kernel and e2fsprogs 1.43. Note: In order for grub to be able to accept a file system with metadata_csum_seed, it must have commit 7fd5feff97c4 ("fs/ext2: Ignore checksum seed incompat feature"). This commit landed in July 2021, which just missed the Grub 2.06 release in June 2021. Grub 2.11 was slated for "H1'2022" but unfortunately it has not yet been released as of this writing. Signed-off-by: Theodore Ts'o --- 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 0568099..57bc2c1 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,64bit,dir_nlink,extra_isize + features = has_journal,extent,huge_file,flex_bg,metadata_csum,netdata_csum_seed,64bit,dir_nlink,extra_isize,orphan_file } small = { blocksize = 1024 -- 1.8.3.1