]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - lib/ext2fs/initialize.c
libext2fs: automatically enable meta_bg to avoid filling up BG 0
authorDarrick J. Wong <darrick.wong@oracle.com>
Sat, 24 Oct 2015 04:30:02 +0000 (00:30 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 24 Oct 2015 04:30:10 +0000 (00:30 -0400)
commit03940aac5492879ef365b07e69105a98f4dbabf9
tree655627e76b5530982ad666da5a2238f9f91474a1
parent1abdd04eb1d19488493022f81c03f5b80aa7fcc7
libext2fs: automatically enable meta_bg to avoid filling up BG 0

If during formatting we'd lose more than 75% a block group to group
descriptors and other metadata, enable the meta_bg feature.  This
enables us to create >500T filesystems with default options.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/initialize.c