[Bugs] [Bug 1163571] bulk remove xattr should not fail if removexattr fails with ENOATTR/ENODATA

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


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



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9109 committed in release-3.6 by Vijay Bellur
(vbellur at redhat.com) 
------
commit 4e8901f7201ec68f30dbdf452362fcf0f3ec16bc
Author: Pranith Kumar K <pkarampu at redhat.com>
Date:   Wed Nov 5 09:04:50 2014 +0530

    storage/posix: Treat ENODATA/ENOATTR as success in bulk removexattr

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

    Bulk remove xattr is internal fop in gluster. Some of the xattrs may have
    special behavior. Ex: removexattr("posix.system_acl_access"), removes more
than
    one xattr on the file that could be present in the bulk-removal request.
    Removexattr of these deleted xattrs will fail with either ENODATA/ENOATTR.
    Since all this fop cares is removal of the xattrs in bulk-remove request
and
    if they are already deleted, it can be treated as success.

    BUG: 1163571
    Change-Id: I009f4736f8b6362d7115f57a7d7aece74e56e4f6
    Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    Reviewed-on: http://review.gluster.org/9109
    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=E3bmSLDJpY&a=cc_unsubscribe


More information about the Bugs mailing list