]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_repair: drop all the metadata directory files during pass 4
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:24:21 +0000 (16:24 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:28 +0000 (18:01 -0800)
commit03e7de0cb18e4d6a2443bd509ca51e0925366d18
tree8b63f34e5bea4ba065300ff62ea2a7f5b63706e0
parentf1184d8d28c5e7e923f6211a9d8c3f1e7502c8e2
xfs_repair: drop all the metadata directory files during pass 4

Drop the entire metadata directory tree during pass 4 so that we can
reinitialize the entire tree in phase 6.  The existing metadata files
(rtbitmap, rtsummary, quotas) will be reattached to the newly rebuilt
directory tree.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
repair/dinode.c
repair/scan.c