OSDN Git Service

resize2fs: create optimized flex_bg block groups
authorTheodore Ts'o <tytso@mit.edu>
Sat, 29 Dec 2012 08:43:55 +0000 (03:43 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 29 Dec 2012 08:43:55 +0000 (03:43 -0500)
commit831f309c624d77e41c83ee7c55d900e347cd44fe
treee7f3e765b2ab5192cc704faf126a912b82f00e32
parent42519becdafda2be9ca3fcfc8188b85592c71d86
resize2fs: create optimized flex_bg block groups

Now that we are reserving all of the bg-specific metadata before we
try to allocate the metadata for the new block groups, we don't have
to temporarily disable the flex_bg feature flag while we allocate the
new metadata blocks --- this allows the newly created block groups to
have a much more optimized layout, instead of fragmenting the inode
table and block/inode bitmaps in sepraate block groups.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
resize/resize2fs.c