summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-03-18 00:38:36 +0000
committerVijay Bellur <vijay@dev.gluster.com>2011-03-18 20:36:35 -0700
commit26dcbc729395b00dae45cd62222aaccbd2ab7aff (patch)
tree1f4b0c049cd19fc55a1280fc55844a5c0831b603
parent131d82cacd4600654d3e931287d2556f50bd9db5 (diff)
debug/io-stats: don't log the dangling volume message
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 2346 (Log message enhancements in GlusterFS - phase 1) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2346
-rw-r--r--xlators/debug/io-stats/src/io-stats.c5
1 files changed, 4 insertions, 1 deletions
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 ");
}