]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_scrub: call GETFSMAP for each rt group in parallel
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:24:40 +0000 (16:24 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:35 +0000 (18:01 -0800)
commita68eb7c7fde165d06e78d2ebd2bdf960b16ffd73
tree2f2927c7848b9ca25eae42837b5671aa8de6d261
parent04c33913870693df6fcc46cbab69a3f1b3fea42e
xfs_scrub: call GETFSMAP for each rt group in parallel

If realtime groups are enabled, we should take advantage of the sharding
to speed up the spacemap scans.  Do so by issuing per-rtgroup GETFSMAP
calls.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
scrub/spacemap.c