]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: create a shadow rmap btree during realtime rmap repair
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:20:43 +0000 (16:20 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 23 Dec 2024 21:06:09 +0000 (13:06 -0800)
commit4a61f12eb11958f157e054d386466627445644cd
treea1ffe19a61e6960c3eedcb41c8b3b055116258c8
parent6a849bd81b69ccbda5b766cc700f0be86194e4d1
xfs: create a shadow rmap btree during realtime rmap repair

Create an in-memory btree of rmap records instead of an array.  This
enables us to do live record collection instead of freezing the fs.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_btree_mem.c
fs/xfs/libxfs/xfs_rmap.c
fs/xfs/libxfs/xfs_rtrmap_btree.c
fs/xfs/libxfs/xfs_rtrmap_btree.h
fs/xfs/libxfs/xfs_shared.h
fs/xfs/scrub/rtrmap_repair.c
fs/xfs/xfs_stats.c
fs/xfs/xfs_stats.h