]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita96c358be9cdd947a718307898b271ccd8a3e45b
tree3231ce97c5718bc021572ac57f068f0690ce7ffc
parentc1d1f3bc30cb9f5e68ee76d2d9554071f69e7ba7
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