]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: hook live realtime rmap operations during a repair operation
authorDarrick J. Wong <djwong@kernel.org>
Sun, 22 Sep 2024 05:11:13 +0000 (07:11 +0200)
committerChristoph Hellwig <hch@lst.de>
Sun, 22 Sep 2024 08:48:18 +0000 (10:48 +0200)
commit95152b29d8978190eb5c4ce3a55c3761c04e786c
treed5500e99c5d56f83db243920702a2d617412d85a
parentcb4f37243807afbd38ea4ce49dd00381c019ca44
xfs: hook live realtime rmap operations during a repair operation

Hook the regular realtime rmap code when an rtrmapbt repair operation is
running so that we can unlock the AGF buffer to scan the filesystem and
keep the in-memory btree up to date during the scan.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/scrub/rmap_repair.c
fs/xfs/scrub/rtrmap_repair.c
fs/xfs/scrub/trace.h