diff options
Diffstat (limited to 'module/zfs')
-rw-r--r-- | module/zfs/zvol.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/module/zfs/zvol.c b/module/zfs/zvol.c index 1636581d5..19888ea96 100644 --- a/module/zfs/zvol.c +++ b/module/zfs/zvol.c @@ -47,7 +47,7 @@ #include <linux/blkdev_compat.h> unsigned int zvol_major = ZVOL_MAJOR; -unsigned int zvol_threads = 0; +unsigned int zvol_threads = 32; static taskq_t *zvol_taskq; static kmutex_t zvol_state_lock; @@ -1343,9 +1343,6 @@ zvol_init(void) { int error; - if (!zvol_threads) - zvol_threads = num_online_cpus(); - zvol_taskq = taskq_create(ZVOL_DRIVER, zvol_threads, maxclsyspri, zvol_threads, INT_MAX, TASKQ_PREPOPULATE); if (zvol_taskq == NULL) { |