]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: create a shadow rmap btree during realtime rmap repair
authorDarrick J. Wong <djwong@kernel.org>
Mon, 24 Feb 2025 18:21:51 +0000 (10:21 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 25 Feb 2025 17:15:58 +0000 (09:15 -0800)
commit57f34d7774386175f3535b3cfa2b8768683a2152
treea1be75cf7e90a90badfdb5487c57d55a3f9fb588
parentaa55ff9f9e631f88417a772b4b0dddf780e83ea1
xfs: create a shadow rmap btree during realtime rmap repair

Source kernel commit: 4a61f12eb11958f157e054d386466627445644cd

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>
libxfs/xfs_btree_mem.c
libxfs/xfs_rmap.c
libxfs/xfs_rtrmap_btree.c
libxfs/xfs_rtrmap_btree.h
libxfs/xfs_shared.h