diff options
author | Brian Behlendorf <[email protected]> | 2015-06-18 09:17:42 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-06-22 10:22:10 -0700 |
commit | 4c6a70091030847ca5d6933916255194483ce91f (patch) | |
tree | 085dda168802674c75552f37a5dd239febf9b10f /module | |
parent | 57ae840077e6c061bc57fb4860491f50b604d360 (diff) |
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 <[email protected]>
Signed-off-by: Tim Chase <[email protected]>
Diffstat (limited to 'module')
-rw-r--r-- | module/zfs/dsl_pool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/zfs/dsl_pool.c b/module/zfs/dsl_pool.c index 108fc5299..908c44e70 100644 --- a/module/zfs/dsl_pool.c +++ b/module/zfs/dsl_pool.c @@ -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); } |