From 91004b046805243e730176a5354ce3092326dde4 Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Tue, 22 Mar 2016 15:51:37 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/13808 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Jeff Darcy --- xlators/debug/io-stats/src/io-stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators') 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." }, -- cgit