]> 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>
Tue, 15 Oct 2024 19:40:10 +0000 (12:40 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 1 Nov 2024 20:47:06 +0000 (13:47 -0700)
commita6e0308fed6464449f4ac6bb3867c0d6de52b233
treea85e58a09b5717dab84614a931278dedad5dc503
parentb349ece7ef6d6d3cd2a10af92eacb92d872fa6cf
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