diff options
author | Ravishankar N <ravishankar@redhat.com> | 2015-05-28 15:10:57 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-05-29 05:29:27 -0700 |
commit | 145f0ab3540fb922ecd109170a76c347c5dfad78 (patch) | |
tree | c4558ac2f5bd666cdf6091aeb2fe80d4c0e0266f /xlators/encryption | |
parent | 74beb614efc94f6017a8face50bcbfab407ad9c4 (diff) |
afr: allow readdir to proceed for directories in split-brain
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: 1218863
BUG:
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)
Reviewed-on: http://review.gluster.org/10962
Tested-by: NetBSD Build System
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/encryption')
0 files changed, 0 insertions, 0 deletions