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

bugzilla at redhat.com bugzilla at redhat.com
Wed Sep 14 04:44:02 UTC 2016


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



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


More information about the Bugs mailing list