Whamcloud - gitweb
resize2fs: set bg flags and unused inode count when resizing
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 15 Dec 2014 02:12:37 +0000 (21:12 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 15 Dec 2014 02:12:37 +0000 (21:12 -0500)
commit1862ef72002603f6bed9df68e0b9e577dd6370ca
tree8ee0e14f88076b4e109a15a6c28d2e5fe7767d37
parent2273a17ae8161475a9cb006f923aeb037288046a
resize2fs: set bg flags and unused inode count when resizing

Recalculate the unused inode count and the block/inode uninit flags
when resizing a filesystem.  This can speed up future e2fsck runs
considerably and will reduce mount times.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
resize/resize2fs.c
tests/r_fixup_lastbg/expect [new file with mode: 0644]
tests/r_fixup_lastbg/script [new file with mode: 0755]
tests/r_fixup_lastbg_big/expect [new file with mode: 0644]
tests/r_fixup_lastbg_big/script [new file with mode: 0755]