Whamcloud - gitweb
mke2fs.conf: add back missing uninit_bg feature flag
authorTheodore Ts'o <tytso@mit.edu>
Mon, 24 Oct 2016 18:15:43 +0000 (14:15 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 24 Oct 2016 18:15:43 +0000 (14:15 -0400)
Commit 0da058af9f88: "mke2fs.conf: don't enable metadata_csum by
default" removed metadata_csum without adding back the uninit_bg flag
--- which had the net result of causing file systems to take a long
time to mke2fs, since this caused all of the block group metadata to
be initialized.

Addresses-Google-Bug: 32342524

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/mke2fs.conf.in

index 78fe50a..812f7c7 100644 (file)
                features = has_journal
        }
        ext4 = {
-               features = has_journal,extent,huge_file,flex_bg,64bit,dir_nlink,extra_isize
+               features = has_journal,extent,huge_file,flex_bg,uninit_bg,64bit,dir_nlink,extra_isize
                inode_size = 256
        }
        ext4dev = {
-               features = has_journal,extent,huge_file,flex_bg,inline_data,64bit,dir_nlink,extra_isize
+               features = has_journal,extent,huge_file,flex_bg,uninit_bg,inline_data,64bit,dir_nlink,extra_isize
                inode_size = 256
                options = test_fs=1
        }