]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_repair: rebuild the metadata directory
authorDarrick J. Wong <djwong@kernel.org>
Wed, 7 Aug 2024 22:54:05 +0000 (15:54 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 9 Oct 2024 23:29:09 +0000 (16:29 -0700)
commitaf016299babc60fa425dfcd10dd6c41ff5040a05
tree52aea3e827f1d0af594f7c3a3bdb30f7b67628d4
parent5271385d39d33461aaee179feda0760c0f80cc16
xfs_repair: rebuild the metadata directory

Check the dirents in metadata directories for problems and repair them
if necessary.  Also make sure that the sb-rooted inodes (root, metadir
root, rt bitmap, rt summary) are always allocated in that order.

Note that xfs_repair will always rebuild the metadata directory tree
itself, so we only need to report problems, not fix them.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
14 files changed:
libxfs/libxfs_api_defs.h
repair/dino_chunks.c
repair/dir2.c
repair/globals.c
repair/globals.h
repair/incore.h
repair/phase1.c
repair/phase2.c
repair/phase4.c
repair/phase6.c
repair/pptr.c
repair/pptr.h
repair/sb.c
repair/xfs_repair.c