Whamcloud - gitweb
mke2fs.conf: enable the metadata_csum_seed and orphan_file features by default
authorTheodore Ts'o <tytso@mit.edu>
Wed, 31 Aug 2022 11:07:14 +0000 (07:07 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 31 Aug 2022 15:58:23 +0000 (11:58 -0400)
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 <tytso@mit.edu>
misc/mke2fs.conf.in

index 0568099..57bc2c1 100644 (file)
@@ -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