diff options
author | Lakshmipathi <lakshmipathi@gluster.com> | 2010-05-14 02:01:36 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-05-21 00:31:32 -0700 |
commit | 8734ba0fc9e066065dfd23f8f6da12f2fd89e80e (patch) | |
tree | ccaf74b3b5e8e5185f1bc8124728386e9bc4d591 /xlators | |
parent | bb315cb180c3547218b5ed581d38e76aec74cf94 (diff) |
Bug 799: dht prints 100% full when subvolume is not connected to remote host
Signed-off-by: lakshmipathi <lakshmipathi@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 799 (dht prints 100% full when subvolume is not connected to remote host)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=799
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/cluster/dht/src/dht-diskusage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-diskusage.c b/xlators/cluster/dht/src/dht-diskusage.c index 6344953d09a..51769c04296 100644 --- a/xlators/cluster/dht/src/dht-diskusage.c +++ b/xlators/cluster/dht/src/dht-diskusage.c @@ -209,7 +209,7 @@ dht_is_subvol_filled (xlator_t *this, xlator_t *subvol) } UNLOCK (&conf->subvolume_lock); - if (subvol_filled) { + if (subvol_filled && conf->subvolume_status[i]) { if (!(conf->du_stats[i].log++ % (GF_UNIVERSAL_ANSWER * 10))) { gf_log (this->name, GF_LOG_WARNING, "disk space on subvolume '%s' is getting " |