]> granicus.if.org Git - zfs/commit
Bound zvol_threads module option
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 27 Jul 2015 18:55:03 +0000 (11:55 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 29 Jul 2015 14:42:11 +0000 (07:42 -0700)
commit6339c1b9dce9f7cf4b7269d588d7a9c3bf338ebb
treec1c36c69ff6fc7cc872b4b58d580f234f9ca0e37
parent21a96fb635fb14a59efe44d7ea6767c5f9a586bc
Bound zvol_threads module option

The zvol_threads module option should be bounded to a reasonable
range.  The taskq must have at least 1 thread and shouldn't have
more than 1,024 at most.  The default value of 32 is a reasonable
default.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3614
man/man5/zfs-module-parameters.5
module/zfs/zvol.c