summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-11-12 05:23:42 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-11-13 07:02:47 -0800
commitfe349e42baa47dd7c010707bddbd114946f4d95b (patch)
tree52cca7f8f45dea9b55ebcc6bf899e8f6802f9f49 /xlators
parente48f8e62e0d7d68ca8b45402a6b9a79352fd8063 (diff)
stripe: allow lookup on an entry if other than first subvolume is down
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 2099 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2099
Diffstat (limited to 'xlators')
-rw-r--r--xlators/cluster/stripe/src/stripe.c2
1 files changed, 1 insertions, 1 deletions
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)