[Bugs] [Bug 1374640] glusterfs: create a directory with 0464 mode return EIO error

bugzilla at redhat.com bugzilla at redhat.com
Thu Sep 15 16:30:53 UTC 2016


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



--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/15473 committed in release-3.8 by Pranith
Kumar Karampuri (pkarampu at redhat.com) 
------
commit 3118cefcb18ffd53aee4500ee93878cad5648168
Author: Pranith Kumar K <pkarampu at redhat.com>
Date:   Thu Sep 8 05:43:20 2016 +0530

    system/posix-acl: Unwind with NULL xdata on error

    In posix-acl when there are errors xdata that comes as part of input is
used to
    unwind which can be used as response xdata which may lead to problems as
the
    keys in the input will match with keys in the output but the values the
    response xdata may expect can be completely different.

    For example, we see that dht sends DHT_IATT_IN_XDATA_KEY in setxattr
    which will be unwound with the same key in the xdata-response which
    dht thinks is valid response and fills stbuf with invalid values
    leading to EIO

    > BUG: 1374093
    > Change-Id: I6b77a1fa1ee99cb62e181e1db2e6fea73f6eaaa3
    > Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    > Reviewed-on: http://review.gluster.org/15421
    > Smoke: Gluster Build System <jenkins at build.gluster.org>
    > NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    > Reviewed-by: jiffin tony Thottan <jthottan at redhat.com>
    > Reviewed-by: Niels de Vos <ndevos at redhat.com>
    (cherry picked from commit c9271ff14d3efa8279cf67907548b3f43970d4fb)

    Change-Id: I6b77a1fa1ee99cb62e181e1db2e6fea73f6eaaa3
    BUG: 1374640
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: http://review.gluster.org/15473
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu 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=WzZmFJzJCQ&a=cc_unsubscribe


More information about the Bugs mailing list