]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
New bitmap and inode table allocation for FLEX_BG e2fsprogs-interim
authorJose R. Santos <jrs@us.ibm.com>
Fri, 29 Feb 2008 14:39:03 +0000 (09:39 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 29 Feb 2008 14:39:30 +0000 (09:39 -0500)
commitcb6769959f8c9763f0ccaabd7dec41b72253fbc8
tree9dd3bb67f14756e41207e3f0626aef6652caacf2
parent6fe851cf21f8c60a73038d0184a039cdb27a9617
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/closefs.c
lib/ext2fs/ext2_fs.h
lib/ext2fs/initialize.c
misc/mke2fs.8.in
misc/mke2fs.c