]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_repair: reserve per-AG space while rebuilding rt metadata
authorDarrick J. Wong <djwong@kernel.org>
Wed, 3 Jul 2024 21:22:25 +0000 (14:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 31 Jul 2024 01:46:57 +0000 (18:46 -0700)
commit094037e25760eb8bb23b9497d9502ebe7c8ed153
treecfc99a36f6388f19664a9ea97c8e3ae7b86c2a03
parent7b1f6c07a33680cf6592adf5c45922c61a7e5e23
xfs_repair: reserve per-AG space while rebuilding rt metadata

Realtime metadata btrees can consume quite a bit of space on a full
filesystem.  Since the metadata are just regular files, we need to
make the per-AG reservations to avoid overfilling any of the AGs while
rebuilding metadata.  This avoids the situation where a filesystem comes
straight from repair and immediately trips over not having enough space
in an AG.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
include/libxfs.h
repair/phase6.c