Default to zvol_request_async=0

Change the default ZVOL behavior so requests are handled asynchronously.
This behavior is functionally the same as in the zfs-0.6.4 release.

Reviewed-by: Chunwei Chen <david.chen@osnexus.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #5902
This commit is contained in:
Brian Behlendorf 2017-05-02 17:37:14 -07:00
parent bc17f1047a
commit 8fa5250f5d
2 changed files with 2 additions and 2 deletions

View File

@ -2060,7 +2060,7 @@ effectively limits the queue depth to 1 for each I/O submitter. When set
to 0 requests are handled asynchronously by a thread pool. The number of to 0 requests are handled asynchronously by a thread pool. The number of
requests which can be handled concurrently is controller by \fBzvol_threads\fR. requests which can be handled concurrently is controller by \fBzvol_threads\fR.
.sp .sp
Default value: \fB1\fR. Default value: \fB0\fR.
.RE .RE
.sp .sp

View File

@ -57,7 +57,7 @@
unsigned int zvol_inhibit_dev = 0; unsigned int zvol_inhibit_dev = 0;
unsigned int zvol_major = ZVOL_MAJOR; unsigned int zvol_major = ZVOL_MAJOR;
unsigned int zvol_threads = 32; unsigned int zvol_threads = 32;
unsigned int zvol_request_sync = 1; unsigned int zvol_request_sync = 0;
unsigned int zvol_prefetch_bytes = (128 * 1024); unsigned int zvol_prefetch_bytes = (128 * 1024);
unsigned long zvol_max_discard_blocks = 16384; unsigned long zvol_max_discard_blocks = 16384;