From 76a87a902ef031432a855fb341cf35291e2be2b6 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 26 Oct 2016 09:13:43 -0700 Subject: [PATCH] Disable zio_dva_throttle_enabled by default Until it can be determined definitively that a performance regression wasn't introduced accidentally by 3dfb57a this functionality is being disabled by default. It can be re- enabled by setting zio_dva_throttle_enabled=1. Signed-off-by: Brian Behlendorf Closes #5335 Issue #5289 --- 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 95527906b07e..8e37a97e2613 100644 --- a/man/man5/zfs-module-parameters.5 +++ b/man/man5/zfs-module-parameters.5 @@ -1861,7 +1861,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: \fB1\fR. +Default value: \fB0\fR. .RE .sp diff --git a/module/zfs/zio.c b/module/zfs/zio.c index e1fa543da660..c149b4ff2349 100644 --- a/module/zfs/zio.c +++ b/module/zfs/zio.c @@ -56,7 +56,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_TRUE; +int zio_dva_throttle_enabled = B_FALSE; /* * ==========================================================================