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

bugzilla at redhat.com bugzilla at redhat.com
Wed Feb 11 10:13:50 UTC 2015


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



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9088 committed in release-3.5 by Niels de Vos
(ndevos at redhat.com) 
------
commit 72e84c17240bc46c1a040cb585c4a3c89c58903d
Author: Pranith Kumar K <pkarampu at redhat.com>
Date:   Mon Nov 10 16:19:34 2014 +0530

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

            Partly backported from 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.

    PS: Afr-v2 code differs from afr-v1 so that pre-op part of code doesn't
apply

    Change-Id: I61e57bbf1a69407230ec172a983de18d1c624fd2
    BUG: 1162150
    Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    Reviewed-on: http://review.gluster.org/9088
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Niels de Vos <ndevos 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=0bwmnRKHTv&a=cc_unsubscribe


More information about the Bugs mailing list