xfs: parallelize block preallocation garbage collection
authorDarrick J. Wong <djwong@kernel.org>
Sat, 23 Jan 2021 00:48:44 +0000 (16:48 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 3 Feb 2021 17:18:50 +0000 (09:18 -0800)
commit894ecacf0f27fd1701c34f2946148b7f017bf984
tree3231ce97c5718bc021572ac57f068f0690ce7ffc
parentc9a6526fe7ae64528d924c6f255af15312211432
xfs: parallelize block preallocation garbage collection

Split the block preallocation garbage collection work into per-AG work
items so that we can take advantage of parallelization.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_icache.c
fs/xfs/xfs_mount.c
fs/xfs/xfs_mount.h
fs/xfs/xfs_super.c