diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2014-10-28 11:48:02 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-11-05 21:36:55 -0800 |
commit | 8528253ddbac4cbcb7ce4881c085d9bfc0a82703 (patch) | |
tree | e9389aff7e11f952dca4e86c570d64f730f974ab /xlators/storage/posix | |
parent | 08109ed5a7e09ec14ecb3640cfcaf9b32d83499b (diff) |
cluster/afr: Preserve errno in case of failures on all subvols
Problem:
When quorum is enabled and the fop fails on all the subvolumes,
op_errno is set to EROFS which overrides the actual errno returned
from bricks.
Fix:
Don't override the errno when fop fails on all subvols.
Change-Id: I61e57bbf1a69407230ec172a983de18d1c624fd2
BUG: 1157976
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/8984
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-by: Harshavardhana <harsha@harshavardhana.net>
Tested-by: Harshavardhana <harsha@harshavardhana.net>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/storage/posix')
0 files changed, 0 insertions, 0 deletions