summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-diskusage.c
diff options
context:
space:
mode:
authorHumble Devassy Chirammal <hchiramm@redhat.com>2015-03-13 19:39:13 +0530
committerKaleb KEITHLEY <kkeithle@redhat.com>2015-03-18 04:33:01 -0700
commit8a9c909702f4f6836bd1d0c791a7b1ae79d4ba15 (patch)
tree173dc89f0466f561ad36bd9d468c8bd7fdd59456 /xlators/cluster/dht/src/dht-diskusage.c
parentbf16d438237166c9379b8388a1be71b2dec4dd4d (diff)
dht: suggest to add more bricks when min-free-disk is exceeded.
Change-Id: I628fbd99c2478fcb8bb6e5be55e43467f25227bf BUG: 1165870 Signed-off-by: Humble Devassy Chirammal <hchiramm@redhat.com> Reviewed-on: http://review.gluster.org/9879 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Lalatendu Mohanty <lmohanty@redhat.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-diskusage.c')
-rw-r--r--xlators/cluster/dht/src/dht-diskusage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/cluster/dht/src/dht-diskusage.c b/xlators/cluster/dht/src/dht-diskusage.c
index a2dc43c32aa..621c613d08c 100644
--- a/xlators/cluster/dht/src/dht-diskusage.c
+++ b/xlators/cluster/dht/src/dht-diskusage.c
@@ -259,7 +259,7 @@ dht_is_subvol_filled (xlator_t *this, xlator_t *subvol)
gf_msg (this->name, GF_LOG_WARNING, 0,
DHT_MSG_SUBVOL_INSUFF_SPACE,
"disk space on subvolume '%s' is getting "
- "full (%.2f %%), consider adding more nodes",
+ "full (%.2f %%), consider adding more bricks",
subvol->name,
(100 - conf->du_stats[i].avail_percent));
}
@@ -270,7 +270,7 @@ dht_is_subvol_filled (xlator_t *this, xlator_t *subvol)
gf_msg (this->name, GF_LOG_CRITICAL, 0,
DHT_MSG_SUBVOL_INSUFF_INODES,
"inodes on subvolume '%s' are at "
- "(%.2f %%), consider adding more nodes",
+ "(%.2f %%), consider adding more bricks",
subvol->name,
(100 - conf->du_stats[i].avail_inodes));
}