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
This commit is contained in:
Brian Behlendorf
2015-07-27 11:55:03 -07:00
parent 21a96fb635
commit 6339c1b9dc
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -1567,7 +1567,7 @@ Default value: \fB16,384\fR.
\fBzvol_threads\fR (uint)
.ad
.RS 12n
Number of threads for zvol device
Max number of threads to handle zvol I/O requests
.sp
Default value: \fB32\fR.
.RE