]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: hook live realtime rmap operations during a repair operation
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:20:44 +0000 (16:20 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 23 Dec 2024 21:06:09 +0000 (13:06 -0800)
commit9515572be65e9f8d7b852f067c7a163bfe9520d4
treed4d0a690963342e8d34f88827039f1021ee77aa7
parent4a61f12eb11958f157e054d386466627445644cd
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>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/scrub/rmap_repair.c
fs/xfs/scrub/rtrmap_repair.c
fs/xfs/scrub/trace.h