diff options
author | Ravishankar N <ravishankar@redhat.com> | 2015-06-10 18:34:52 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2015-06-15 09:28:59 -0700 |
commit | 83778a592f75ef18ce5e22e14adc9bf118705a17 (patch) | |
tree | 7f0961fe22446f20b78514f08814d8c9cd239133 /contrib | |
parent | fecebde3fbae17ace970a4d9c440f6455161dc62 (diff) |
afr: allow readdir to proceed for directories in split-brainv3.6.4beta2
Problem:
afr_read_txn() bails out if read_subvol==-1. This meant that for
directories that were in entry split-brain, FOPS like readdir, access,
stat etc were not allowed.
Fix:
Except for getxattr, all other FOPS are wound on the first up child
of afr.
Change-Id: Iacec8fbb1e75c4d2094baa304f62331c81a6f670
BUG: 1230242
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-on: http://review.gluster.org/10776
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Reviewed-by: Anuradha Talur <atalur@redhat.com>
(cherry picked from commit 49b428433a03fcf709fdc8c08603b4cf02198e0a)
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-on: http://review.gluster.org/11162
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions