]> 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>
Fri, 9 Aug 2024 11:23:32 +0000 (13:23 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 12 Aug 2024 11:53:03 +0000 (13:53 +0200)
commit7aa10bf3217de89b9948bcb84b3a6aa551702b7f
tree64a78119335ae7c6f7252b6ef6b1cc4b3aa6c658
parent5be5a5baa8d89dccc36c510981a81cd369931206
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/libxfs/xfs_rmap.c
fs/xfs/libxfs/xfs_rmap.h
fs/xfs/libxfs/xfs_rtgroup.c
fs/xfs/libxfs/xfs_rtgroup.h
fs/xfs/scrub/rtrmap_repair.c
fs/xfs/scrub/trace.h