Whamcloud - gitweb
mke2fs: New bitmap and inode table allocation for FLEX_BG
authorTheodore Ts'o <tytso@mit.edu>
Tue, 22 Apr 2008 12:27:01 +0000 (08:27 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 23 Apr 2008 03:32:16 +0000 (23:32 -0400)
commit9ba400027fb00ce43d14673346bbfb6f5719985a
tree6c5e323175e07996e68486773227cfe6fc173e0f
parent494a1daad37a8098e7db166d558aab3e9e37ac48
mke2fs: New bitmap and inode table allocation for FLEX_BG

Change the way we allocate bitmaps and inode tables if the FLEX_BG
feature is used at mke2fs time.  It places calculates a new offset for
bitmaps and inode table base on the number of groups that the user
wishes to pack together using the new "-G" option.  Creating a
filesystem with 64 block groups in a flex group can be done by:

mke2fs -j -I 256 -O flex_bg -G 32 /dev/sdX

Signed-off-by: Jose R. Santos <jrs@us.ibm.com>
Signed-off-by: Valerie Clement <valerie.clement@bull.net>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/alloc_tables.c
lib/ext2fs/initialize.c
misc/mke2fs.8.in
misc/mke2fs.c
misc/mke2fs.conf.5.in