From fe349e42baa47dd7c010707bddbd114946f4d95b Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Fri, 12 Nov 2010 05:23:42 +0000 Subject: stripe: allow lookup on an entry if other than first subvolume is down Signed-off-by: Amar Tumballi Signed-off-by: Anand V. Avati BUG: 2099 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2099 --- xlators/cluster/stripe/src/stripe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/cluster/stripe/src/stripe.c b/xlators/cluster/stripe/src/stripe.c index b2c70cfe59d..05b77a89215 100644 --- a/xlators/cluster/stripe/src/stripe.c +++ b/xlators/cluster/stripe/src/stripe.c @@ -243,7 +243,7 @@ stripe_lookup_cbk (call_frame_t *frame, void *cookie, xlator_t *this, strerror (op_errno)); if (local->op_errno != ESTALE) local->op_errno = op_errno; - if ((op_errno != ENOENT) || + if (((op_errno != ENOENT) && (op_errno != ENOTCONN)) || (prev->this == FIRST_CHILD (this))) local->failed = 1; if (op_errno == ENOENT) -- cgit