]> 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>
Tue, 15 Oct 2024 19:44:40 +0000 (12:44 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 1 Nov 2024 20:44:58 +0000 (13:44 -0700)
commitca858c6cb30e11a53a731d760283e6c9badb8db3
treeeac0eab4670baf2345b4e9999af6bb6fbbe7618e
parentfb0410584678132097f6175d047e234e2ca9ff01
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