]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: scrub the realtime refcount btree
authorDarrick J. Wong <djwong@kernel.org>
Mon, 24 Feb 2025 18:21:55 +0000 (10:21 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 25 Feb 2025 17:15:59 +0000 (09:15 -0800)
commitb71fbe4c3da2637c242cd9a0546f23f76ee27059
tree57e73975064f5199f1ac5faf583b87c6c81e3ee7
parent12e3ae7365e030f49b351a653d9e883575d633ee
xfs: scrub the realtime refcount btree

Source kernel commit: c27929670de144ec76a0dab2f3a168cb4897b314

Add code to scrub realtime refcount btrees.  Similar to the refcount
btree checking code for the data device, we walk the rmap btree for each
refcount record to confirm that the reference counts are correct.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_fs.h