From 27f2b90d3e365dbe20d736792b390674e8236b17 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 8 Dec 2016 13:57:42 -0700 Subject: [PATCH] Revert "Disable zio_dva_throttle_enabled by default" Enable zio_dva_throttle_enabled=1 by default. Subsequent testing has been unable to reproduce the suspected regression. Tested-by: kernelOfTruth kerneloftruth@gmail.com Reviewed-by: Olaf Faaland Signed-off-by: Brian Behlendorf behlendorf1@llnl.gov Reverts #5335 Closes #5289 Closes #5457 --- man/man5/zfs-module-parameters.5 | 2 +- module/zfs/zio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/man5/zfs-module-parameters.5 b/man/man5/zfs-module-parameters.5 index 24398fea0..5ed200081 100644 --- a/man/man5/zfs-module-parameters.5 +++ b/man/man5/zfs-module-parameters.5 @@ -1863,7 +1863,7 @@ Default value: \fB30,000\fR. Throttle block allocations in the ZIO pipeline. This allows for dynamic allocation distribution when devices are imbalanced. .sp -Default value: \fB0\fR. +Default value: \fB1\fR. .RE .sp diff --git a/module/zfs/zio.c b/module/zfs/zio.c index b608ed6ea..e9d08093e 100644 --- a/module/zfs/zio.c +++ b/module/zfs/zio.c @@ -57,7 +57,7 @@ const char *zio_type_name[ZIO_TYPES] = { "z_null", "z_rd", "z_wr", "z_fr", "z_cl", "z_ioctl" }; -int zio_dva_throttle_enabled = B_FALSE; +int zio_dva_throttle_enabled = B_TRUE; /* * ==========================================================================