diff options
author | Amar Tumballi <amar@gluster.com> | 2009-04-12 04:12:00 -0700 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-12 19:18:03 +0530 |
commit | ecead44b5c8d1215e7c398ca1132a4b0b11a44bb (patch) | |
tree | 01bdbf9c7ae83f90487ab6442c6016d117aa1a02 /xlators/cluster/dht/src/dht-common.c | |
parent | e00bdb4a323b60ced500df59071d2a940b976ae9 (diff) |
in dht, initialize the free available space properly, so the first few creates are not confused.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.c')
-rw-r--r-- | xlators/cluster/dht/src/dht-common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c index e68b268df..b2d2a0d9f 100644 --- a/xlators/cluster/dht/src/dht-common.c +++ b/xlators/cluster/dht/src/dht-common.c @@ -3649,6 +3649,9 @@ dht_notify (xlator_t *this, int event, void *data, ...) } UNLOCK (&conf->subvolume_lock); + /* one of the node came back up, do a stat update */ + dht_get_du_info_for_subvol (this, cnt); + break; case GF_EVENT_CHILD_DOWN: |