]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: create a shadow rmap btree during rmap repair
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 17:01:11 +0000 (10:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:40 +0000 (11:37 -0700)
commit9ff7cce744b000b69a9de0bdcffc1593faefd2f9
treee9db8c559dfb15240b7f2452fa9c203767e16998
parent048c5321f4129aa7c2ff4b815effdf2b6ab48c02
xfs: create a shadow rmap btree during rmap repair

Source kernel commit: 4787fc802752c9b73b28ff18860c0560bf4337f2

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>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
libxfs/xfs_rmap.c
libxfs/xfs_rmap_btree.c
libxfs/xfs_rmap_btree.h
libxfs/xfs_shared.h