diff options
author | Ashish Pandey <aspandey@redhat.com> | 2015-10-23 13:27:51 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-10-28 03:11:25 -0700 |
commit | 2c76c52c337a0a14e19f3385268c543aaa06534d (patch) | |
tree | e007e8ebf367ba1c6d73b790f42e2f604a4b68cb /xlators/cluster/dht/src/tier.c | |
parent | c3ed484af54e32c1ef2300cda652604d75dc9d20 (diff) |
cluster/ec: update version and size on good bricks
Problem: readdir/readdirp fops calls [f]xattrop with
fop->good which contain only one brick for these operations.
That causes xattrop to be failed as it requires at least
"minimum" number of brick.
Solution: Use lock->good_mask to call xattrop. lock->good_mask
contain all the good locked bricks on which the previous write
opearion was successfull.
Change-Id: If1b500391aa6fca6bd863702e030957b694ab499
BUG: 1274629
Signed-off-by: Ashish Pandey <aspandey@redhat.com>
Reviewed-on: http://review.gluster.org/12419
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Xavier Hernandez <xhernandez@datalab.es>
Tested-by: Xavier Hernandez <xhernandez@datalab.es>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/tier.c')
0 files changed, 0 insertions, 0 deletions