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.
REVIEW: http://review.gluster.org/8984 (cluster/afr: Preserve errno in case of failures on all subvols) posted (#1) for review on master by Pranith Kumar Karampuri (pkarampu)
COMMIT: http://review.gluster.org/8984 committed in master by Vijay Bellur (vbellur) ------ commit 8528253ddbac4cbcb7ce4881c085d9bfc0a82703 Author: Pranith Kumar K <pkarampu> Date: Tue Oct 28 11:48:02 2014 +0530 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> Reviewed-on: http://review.gluster.org/8984 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Krutika Dhananjay <kdhananj> Reviewed-by: Harshavardhana <harsha> Tested-by: Harshavardhana <harsha> Reviewed-by: Vijay Bellur <vbellur>
REVIEW: http://review.gluster.org/9088 (cluster/afr: Preserve errno in case of failures on all subvols) posted (#1) for review on release-3.5 by Pranith Kumar Karampuri (pkarampu)
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report. glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user