]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/zfs/dmu_objset.c
Align thread priority with Linux defaults
[mirror_zfs.git] / module / zfs / dmu_objset.c
index 56a804dfb69d1ef724483806c2c346c99baf7b7e..4d5baf8da84b3f26b08f92cfb7106687776ce192 100644 (file)
@@ -1839,7 +1839,7 @@ dmu_objset_find_dp(dsl_pool_t *dp, uint64_t ddobj,
        ntasks = dmu_find_threads;
        if (ntasks == 0)
                ntasks = vdev_count_leaves(dp->dp_spa) * 4;
-       tq = taskq_create("dmu_objset_find", ntasks, minclsyspri, ntasks,
+       tq = taskq_create("dmu_objset_find", ntasks, maxclsyspri, ntasks,
            INT_MAX, 0);
        if (tq == NULL) {
                kmem_free(dcp, sizeof (*dcp));