mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-12 19:20:28 +03:00
Increase the number of iput taskq threads
The number of threads in the iput taskq has been increased to speed up the number of iputs which can be handled. This has been observed to improve the meta data reclaim regardless of zfs_sb_prune() implementation in use. The taskq has also been renamed z_iput to for consistency with the rest of the I/O pipeline taskqs which are all named z_*. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Tim Chase <tim@chase2k.com>
This commit is contained in:
parent
57ae840077
commit
4c6a700910
@ -170,8 +170,8 @@ dsl_pool_open_impl(spa_t *spa, uint64_t txg)
|
||||
mutex_init(&dp->dp_lock, NULL, MUTEX_DEFAULT, NULL);
|
||||
cv_init(&dp->dp_spaceavail_cv, NULL, CV_DEFAULT, NULL);
|
||||
|
||||
dp->dp_iput_taskq = taskq_create("zfs_iput_taskq", 1, minclsyspri,
|
||||
1, 4, 0);
|
||||
dp->dp_iput_taskq = taskq_create("z_iput", max_ncpus, minclsyspri,
|
||||
max_ncpus * 8, INT_MAX, TASKQ_PREPOPULATE);
|
||||
|
||||
return (dp);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user