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

bugzilla at redhat.com bugzilla at redhat.com
Thu Oct 20 07:47:45 UTC 2016


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/15475 committed in release-3.7 by Pranith
Kumar Karampuri (pkarampu at redhat.com) 
------
commit a0a2e8ebd0b243dbf4d5dceb24b82e8632373040
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: 1374641
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: http://review.gluster.org/15475
    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: 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=DeWVt6nPwP&a=cc_unsubscribe


More information about the Bugs mailing list