summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2009-06-17 20:56:52 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-06-18 12:38:25 -0700
commitd3da0151cb636b82a0ef1644b80c7f72ec6ccf0c (patch)
tree3b3afb4c774afa752c56cd5183dce1059f1bb654 /xlators
parent4e757c20a425d954513fc7931a84208d0fd6cfbe (diff)
change the log level of disk full message in dht-diskusage
the current msg is getting printed in warning level. Instead changed it to debug, as the msg specific each node being full is already getting printed in higher priority, hence this msg looks excessive. Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/cluster/dht/src/dht-diskusage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/cluster/dht/src/dht-diskusage.c b/xlators/cluster/dht/src/dht-diskusage.c
index 561e5d518cb..dd92f7ddabc 100644
--- a/xlators/cluster/dht/src/dht-diskusage.c
+++ b/xlators/cluster/dht/src/dht-diskusage.c
@@ -191,7 +191,7 @@ dht_is_subvol_filled (xlator_t *this, xlator_t *subvol)
if (subvol_filled) {
if (!(conf->du_stats[i].log++ % GF_UNIVERSAL_ANSWER)) {
- gf_log (this->name, GF_LOG_CRITICAL,
+ gf_log (this->name, GF_LOG_WARNING,
"disk space on subvolume '%s' is getting "
"full (%.2f %%), consider adding more nodes",
subvol->name,
@@ -228,8 +228,8 @@ dht_free_disk_available_subvol (xlator_t *this, xlator_t *subvol)
avail_subvol = subvol;
if (avail_subvol == subvol) {
- gf_log (this->name, GF_LOG_WARNING,
- "No subvolume has enough free space to create");
+ gf_log (this->name, GF_LOG_DEBUG,
+ "no subvolume has enough free space to create");
}
return avail_subvol;