[Bugs] [Bug 1162122] AFR gives EROFS when fop fails on all subvolumes when client-quorum is enabled

bugzilla at redhat.com bugzilla at redhat.com
Mon Nov 17 07:07:25 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1162122



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9087 committed in release-3.6 by Vijay Bellur
(vbellur at redhat.com) 
------
commit 6fbb140c293dcabaf6ec34315d7cc94de07c0782
Author: Pranith Kumar K <pkarampu at redhat.com>
Date:   Tue Oct 28 11:48:02 2014 +0530

    cluster/afr: Preserve errno in case of failures on all subvols

            Backport of http://review.gluster.org/8984

    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: 1162122
    Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    Reviewed-on: http://review.gluster.org/9087
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Vijay Bellur <vbellur at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=qRIelCZNCl&a=cc_unsubscribe


More information about the Bugs mailing list