]> granicus.if.org Git - zfs/commitdiff
Default to zvol_request_async=0
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 3 May 2017 00:37:14 +0000 (17:37 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 4 May 2017 22:01:50 +0000 (18:01 -0400)
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

man/man5/zfs-module-parameters.5
module/zfs/zvol.c

index 2fbab1d010de326469c5f22196b061c1778419d9..51f1cd93f1cf3f2f6e8e9dc008818bd57efdf6f2 100644 (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
 requests which can be handled concurrently is controller by \fBzvol_threads\fR.
 .sp
-Default value: \fB1\fR.
+Default value: \fB0\fR.
 .RE
 
 .sp
index fef1d299a0c15068aaaabd43de2c45c8864270ac..6cd366602f814203d3227b345815668a3ebd9c47 100644 (file)
@@ -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;