summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_log.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-01-22 16:48:41 -0800
committerDarrick J. Wong <djwong@kernel.org>2021-01-31 17:54:17 -0800
commit9799fce6ba5a2d0e28ad28d0c0ec303662b75ed6 (patch)
tree79871ab19ff35e0b7ab343e15b7f1ed5f31176c6 /fs/xfs/xfs_log.c
parent6805225096162b5da7fa1e1ca45fe861a999d3eb (diff)
xfs: increase the default parallelism levels of pwork clients
Increase the parallelism level for pwork clients to the workqueue defaults so that we can take advantage of computers with a lot of CPUs and a lot of hardware. On fast systems this will speed up quotacheck by a large factor, and the following posteof/cowblocks cleanup series will use the functionality presented in this patch to run garbage collection as quickly as possible. We do this by switching the pwork workqueue to unbounded, since the current user (quotacheck) runs lengthy scans for each work item and we don't care about dispatching the work on a warm cpu cache or anything like that. Also set WQ_SYSFS so that we can monitor where the wq is running. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_log.c')
0 files changed, 0 insertions, 0 deletions