[Bugs] [Bug 1401376] inconsistent file permissions b/ w write permission and sticky bits(---------T ) displayed when IOs are going on with md-cache enabled ( and within the invalidation cycle)

bugzilla at redhat.com bugzilla at redhat.com
Thu Jan 5 06:10:16 UTC 2017


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



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: http://review.gluster.org/16022 committed in release-3.9 by Raghavendra
G (rgowdapp at redhat.com) 
------
commit a4281aaacf82bb4b5522fb5477a8fbcb2a55ab18
Author: Poornima G <pgurusid at redhat.com>
Date:   Tue Nov 8 10:32:29 2016 +0530

    dht/md-cache: Filter invalidate if the file is made a linkto file

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

    Upcall as a part of setattr, sends an invalidation and the
    invalidation carries the resulting stat value. When a file
    is converted to linkto files, even then an invalidation
    is set and as a result the mountpoint shows the sticky
    bit in the stat of the file.
    eg: ---------T. 945 root root 0 Nov  8 10:14 hardlink.999

    Fix:
    When dht recieves a notification of sticky bit change, it updates
    the flag, to indicate md-cache to send the subsequent lookup.

    >Reviewed-on: http://review.gluster.org/15789
    >Smoke: Gluster Build System <jenkins at build.gluster.org>
    >NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    >Reviewed-by: Niels de Vos <ndevos at redhat.com>
    >CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    >Reviewed-by: Susant Palai <spalai at redhat.com>
    >Reviewed-by: Rajesh Joseph <rjoseph at redhat.com>
    >(cherry picked from commit 4536f7bdf16f8286d67598eda9a46c029f0c0bf4)

    Change-Id: Ic2fd7a5b196db0754f9b97072e644e6bf69da606
    BUG: 1401376
    Signed-off-by: Poornima G <pgurusid at redhat.com>
    Reviewed-on: http://review.gluster.org/16022
    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: Raghavendra G <rgowdapp at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list