Whamcloud - gitweb
resize2fs: convert fs to and from 64bit mode
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 15 Dec 2014 17:40:03 +0000 (12:40 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 15 Dec 2014 17:45:05 +0000 (12:45 -0500)
commitfe12931f8fa1f896d576c9a3065d1050956a2e04
tree686ea793f02926f86398ac85bc45dd1d6bd8ba90
parent413b5c76d830ac780680c53861e0e954dbd99532
resize2fs: convert fs to and from 64bit mode

resize2fs does its magic by loading a filesystem, duplicating the
in-memory image of that fs, moving relevant blocks out of the way of
whatever new metadata get created, and finally writing everything back
out to disk.  Enabling 64bit mode enlarges the group descriptors,
which makes resize2fs a reasonable vehicle for taking care of the rest
of the bookkeeping requirements, so add to resize2fs the ability to
convert a filesystem to 64bit mode and back.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Cc: TR Reardon <thomas_reardon@hotmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/tune2fs.c
resize/main.c
resize/resize2fs.8.in
resize/resize2fs.c
resize/resize2fs.h
tests/t_enable_mcsum_ext3/expect