summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/stripe/src/stripe.c
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2010-11-16 01:07:20 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-11-15 23:46:11 -0800
commit4cfd6e1b45da64429c3e10886e2ceb4e9c9deb5d (patch)
tree781c6ac8707a15907056613b659afcaa8dcf4381 /xlators/cluster/stripe/src/stripe.c
parent66c768a4845482c42a77e458ecbc73488998fb13 (diff)
Stripe I/O exits when graph changes
Adding event CONNECTING to be handled like CHILDUP in notify. Signed-off-by: shishir gowda <shishirng@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 2111 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2111
Diffstat (limited to 'xlators/cluster/stripe/src/stripe.c')
-rw-r--r--xlators/cluster/stripe/src/stripe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/stripe/src/stripe.c b/xlators/cluster/stripe/src/stripe.c
index 05b77a89215..ddef10b77ee 100644
--- a/xlators/cluster/stripe/src/stripe.c
+++ b/xlators/cluster/stripe/src/stripe.c
@@ -3595,6 +3595,7 @@ notify (xlator_t *this, int32_t event, void *data, ...)
switch (event)
{
case GF_EVENT_CHILD_UP:
+ case GF_EVENT_CHILD_CONNECTING:
{
/* get an index number to set */
for (i = 0; i < priv->child_count; i++) {