]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: add freesp btree block overflow to the free space
authorDarrick J. Wong <darrick.wong@oracle.com>
Sun, 2 Oct 2016 23:42:22 +0000 (10:42 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 2 Oct 2016 23:42:22 +0000 (10:42 +1100)
commitef4332b8fbd3f3f915ac1b27da67478f0cc88ce3
tree060e10dd22f2eb87aa6d118874d4b017391d31d0
parent636f06d882cfc06ffd2933af86a16dec1fc8a59f
xfs_repair: add freesp btree block overflow to the free space

If we overestimate the number of blocks needed to rebuild the free
space btrees to the point that we have more blocks than fit in the
AGFL, save those blocks and reinsert them into the free space at
the end of phase 5.  Previously, the overflow blocks would simply
be lost.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
libxfs/libxfs_api_defs.h
repair/phase5.c