]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - misc/mke2fs.8.in
Add support for new compat feature "sparse_super2"
authorTheodore Ts'o <tytso@mit.edu>
Sun, 12 Jan 2014 03:11:42 +0000 (22:11 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 30 Jan 2014 18:58:18 +0000 (13:58 -0500)
commit65c6c3e06f72e76ddb69222b3be1713d870eb782
tree8d4fee59085509c3c916f698729774658968d70e
parentb818205feb60f7a7bec5e325462294f586735215
Add support for new compat feature "sparse_super2"

In practice, it is **extremely** rare for users to try to use more
than the first backup superblock located at the beginning of block
group #1.  (i.e., at block number 32768 for file systems with a 4k
block size).  This new compat feature restricts the backup superblock
to block group #1 and the last block group in the file system.

Aside from reducing the overhead of the file system by a small number
of blocks, by eliminating the rest of the backup superblocks, it
allows us to have a much more flexible metadata layout.  For example,
we can force all of the allocation bitmaps and inode table blocks to
the beginning of the disk, which allows most of the disk to be
exclusively used for contiguous data blocks.

This simplifies taking advantage of certain HDD specific features,
such as Shingled Magnetic Recording (aka Shingled Drives), and the
TCG's OPAL Storage Specification where having a simple mapping between
LBA block ranges and the data blocks used by the file system can make
life much simpler.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
16 files changed:
debugfs/set_fields.c
lib/e2p/feature.c
lib/e2p/ls.c
lib/ext2fs/closefs.c
lib/ext2fs/ext2_fs.h
lib/ext2fs/ext2fs.h
lib/ext2fs/initialize.c
lib/ext2fs/res_gdt.c
lib/ext2fs/swapfs.c
lib/ext2fs/tst_super_size.c
misc/ext4.5.in
misc/mke2fs.8.in
misc/mke2fs.c
misc/mke2fs.conf.5.in
resize/online.c
resize/resize2fs.c