From 26dcbc729395b00dae45cd62222aaccbd2ab7aff Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Fri, 18 Mar 2011 00:38:36 +0000 Subject: debug/io-stats: don't log the dangling volume message Signed-off-by: Amar Tumballi Signed-off-by: Vijay Bellur BUG: 2346 (Log message enhancements in GlusterFS - phase 1) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2346 --- xlators/debug/io-stats/src/io-stats.c | 5 ++++- 1 file changed, 4 insertions(+), 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 e7435d072cf..b990146ae4b 100644 --- a/xlators/debug/io-stats/src/io-stats.c +++ b/xlators/debug/io-stats/src/io-stats.c @@ -2444,7 +2444,10 @@ init (xlator_t *this) } if (!this->parents) { - gf_log (this->name, GF_LOG_WARNING, + /* This is very much valid as io-stats currently is loaded + * on top of volumes on both client and server, hence this is + * not an warning message */ + gf_log (this->name, GF_LOG_DEBUG, "dangling volume. check volfile "); } -- cgit