summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-diskusage.c
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:24 -0700
commit80485e438268251f734936139d8239c59f70de54 (patch)
treec2c3a9d1361bc222d24aebe3677843eeae67cb43 /xlators/cluster/dht/src/dht-diskusage.c
parent84bfdfee65be197a8aeb8d8378e135147152761f (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/cluster/dht/src/dht-diskusage.c')
-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 561e5d518..dd92f7dda 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;