Whamcloud - gitweb
resize2fs: quickly rewrite extent blocks when moving an inode w/ metadata_csum
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 14 Dec 2014 03:08:18 +0000 (22:08 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 14 Dec 2014 03:08:18 +0000 (22:08 -0500)
commitfb303847775039ed885213b0d99612a37429df6d
tree8f68f1832caee67bcfb963aef284e6095cb3ad2f
parent4495c5a0eb833cafaa2c5480fecd3f10a4d6609c
resize2fs: quickly rewrite extent blocks when moving an inode w/ metadata_csum

When we're moving an inode on a metadata_csum filesystem, we need to
rewrite the checksum of all interior nodes of the extent tree.  The
current code does this inefficiently via set_bmap, but we can do this
more efficiently through direct iteration of the extent tree.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
resize/resize2fs.c