summaryrefslogtreecommitdiffstats
path: root/xlators/debug/io-stats/src
diff options
context:
space:
mode:
authorAnoop C S <anoopcs@redhat.com>2016-03-22 15:51:37 +0530
committerJeff Darcy <jdarcy@redhat.com>2016-03-24 08:05:16 -0700
commit91004b046805243e730176a5354ce3092326dde4 (patch)
tree27d6592b66ac1ce8da76cd04394b98dfd2dbccbc /xlators/debug/io-stats/src
parent148ed4fd15b4de78e4d16b9f41836c9a2b003246 (diff)
debug/io-stats: Disable fop stats dump by default
Even though someone is not interested in seeing the fops statistics in client logs under DEBUG level we forcefully dump the same. This is due to default dump-interval configured to as 5 seconds. Since can use diagnostics.stats-dump-interval volume set option to change the default dump-interval its better to disable this huge dumping by default. Change-Id: Id14a38bcd92e47d75003279567a0f80acac1d86e BUG: 1320101 Signed-off-by: Anoop C S <anoopcs@redhat.com> Reviewed-on: http://review.gluster.org/13808 Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/debug/io-stats/src')
-rw-r--r--xlators/debug/io-stats/src/io-stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c
index 79e97786581..3a7f53da4ab 100644
--- a/xlators/debug/io-stats/src/io-stats.c
+++ b/xlators/debug/io-stats/src/io-stats.c
@@ -3912,7 +3912,7 @@ struct volume_options options[] = {
.type = GF_OPTION_TYPE_INT,
.min = 0,
.max = 3600,
- .default_value = "5",
+ .default_value = "0",
.description = "Interval (in seconds) at which to auto-dump "
"statistics. Zero disables automatic dumping."
},