summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2017-05-02 17:37:14 -0700
committerBrian Behlendorf <[email protected]>2017-05-04 18:01:50 -0400
commit8fa5250f5d779e577406c581fc2d7fbf0baceea5 (patch)
treee89016f61cb0c2f503a9da264928e27e2ff2003b
parentbc17f1047a83cc8c4065e0ef84333a0d9b9d73aa (diff)
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 <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #5902
-rw-r--r--man/man5/zfs-module-parameters.52
-rw-r--r--module/zfs/zvol.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/man/man5/zfs-module-parameters.5 b/man/man5/zfs-module-parameters.5
index 2fbab1d01..51f1cd93f 100644
--- a/man/man5/zfs-module-parameters.5
+++ b/man/man5/zfs-module-parameters.5
@@ -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
requests which can be handled concurrently is controller by \fBzvol_threads\fR.
.sp
-Default value: \fB1\fR.
+Default value: \fB0\fR.
.RE
.sp
diff --git a/module/zfs/zvol.c b/module/zfs/zvol.c
index fef1d299a..6cd366602 100644
--- a/module/zfs/zvol.c
+++ b/module/zfs/zvol.c
@@ -57,7 +57,7 @@
unsigned int zvol_inhibit_dev = 0;
unsigned int zvol_major = ZVOL_MAJOR;
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 long zvol_max_discard_blocks = 16384;