]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_repair: check existing realtime refcountbt entries against observed refcounts
authorDarrick J. Wong <djwong@kernel.org>
Mon, 24 Feb 2025 18:22:05 +0000 (10:22 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 25 Feb 2025 17:16:02 +0000 (09:16 -0800)
commitbd212fd416c446881b1f686136f7a109fc50bef5
tree389fad29b0b72c29e006acaae8eaf3ca3620ec18
parent7669fbdf42f7af312e02d4b2a6dafc96ad8db5b5
xfs_repair: check existing realtime refcountbt entries against observed refcounts

Once we've finished collecting reverse mapping observations from the
metadata scan, check those observations against the realtime refcount
btree (particularly if we're in -n mode) to detect rtrefcountbt
problems.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/libxfs_api_defs.h
repair/agbtree.c
repair/phase4.c
repair/rmap.c
repair/rmap.h