aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zvol.c
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 /module/zfs/zvol.c
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
Diffstat (limited to 'module/zfs/zvol.c')
-rw-r--r--module/zfs/zvol.c2
1 files changed, 1 insertions, 1 deletions
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;