From a53cd95827df0a9c560fdf5e07b0c23d03707b04 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Sun, 6 Dec 2009 05:31:44 +0000 Subject: THIS: set THIS pointers before forget/release/releasedir callbacks Signed-off-by: Anand V. Avati Signed-off-by: Anand V. Avati --- xlators/cluster/dht/src/dht-diskusage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators') diff --git a/xlators/cluster/dht/src/dht-diskusage.c b/xlators/cluster/dht/src/dht-diskusage.c index bcc385a2f8b..6344953d09a 100644 --- a/xlators/cluster/dht/src/dht-diskusage.c +++ b/xlators/cluster/dht/src/dht-diskusage.c @@ -210,7 +210,7 @@ dht_is_subvol_filled (xlator_t *this, xlator_t *subvol) UNLOCK (&conf->subvolume_lock); if (subvol_filled) { - if (!(conf->du_stats[i].log++ % GF_UNIVERSAL_ANSWER)) { + if (!(conf->du_stats[i].log++ % (GF_UNIVERSAL_ANSWER * 10))) { gf_log (this->name, GF_LOG_WARNING, "disk space on subvolume '%s' is getting " "full (%.2f %%), consider adding more nodes", -- cgit