Bug 1392713
| Summary: | 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) | |||
|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Poornima G <pgurusid> | |
| Component: | md-cache | Assignee: | Poornima G <pgurusid> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | mainline | CC: | amukherj, bugs, nbalacha, nchilaka, rhinduja, rhs-bugs, rjoseph, storage-qa-internal | |
| Target Milestone: | --- | Keywords: | Triaged | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | glusterfs-3.10.0 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1384070 | |||
| : | 1401376 (view as bug list) | Environment: | ||
| Last Closed: | 2017-03-06 17:32:36 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | 1384070 | |||
| Bug Blocks: | 1401376 | |||
|
Description
Poornima G
2016-11-08 05:02:22 UTC
REVIEW: http://review.gluster.org/15789 (upcall: Do not invalidate if the file is made a linkto file) posted (#1) for review on master by Poornima G (pgurusid) REVIEW: http://review.gluster.org/15789 (upcall: Do not invalidate if the file is made a linkto file) posted (#2) for review on master by Poornima G (pgurusid) REVIEW: http://review.gluster.org/15789 (upcall: Do not invalidate if the file is made a linkto file) posted (#3) for review on master by Poornima G (pgurusid) REVIEW: http://review.gluster.org/15789 (upcall: Do not invalidate if the file is made a linkto file) posted (#4) for review on master by Poornima G (pgurusid) REVIEW: http://review.gluster.org/15789 (dht/md-cache: Filter invalidate if the file is made a linkto file) posted (#5) for review on master by Poornima G (pgurusid) REVIEW: http://review.gluster.org/15789 (dht/md-cache: Filter invalidate if the file is made a linkto file) posted (#6) for review on master by Poornima G (pgurusid) COMMIT: http://review.gluster.org/15789 committed in master by Rajesh Joseph (rjoseph) ------ commit 4536f7bdf16f8286d67598eda9a46c029f0c0bf4 Author: Poornima G <pgurusid> Date: Tue Nov 8 10:32:29 2016 +0530 dht/md-cache: Filter invalidate if the file is made a linkto file 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. Change-Id: Ic2fd7a5b196db0754f9b97072e644e6bf69da606 BUG: 1392713 Signed-off-by: Poornima G <pgurusid> Reviewed-on: http://review.gluster.org/15789 Smoke: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> Reviewed-by: Niels de Vos <ndevos> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Susant Palai <spalai> Reviewed-by: Rajesh Joseph <rjoseph> This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.10.0, please open a new bug report. glusterfs-3.10.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/gluster-users/2017-February/030119.html [2] https://www.gluster.org/pipermail/gluster-users/ |