Bug 1640109
Summary: | Default ACL cannot be removed | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | homma |
Component: | md-cache | Assignee: | Vijay Bellur <vbellur> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.1 | CC: | atumball, bugs, pasik, vbellur |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-6.x | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1599275 | Environment: | |
Last Closed: | 2019-06-18 10:02:12 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: |
Description
homma
2018-10-17 11:25:48 UTC
The same problem exists for version 4.1.5. After some investigation, I found that the cause of the problem is md-cache. In md-cache.c, mdc_removexattr() returns without processing REMOVEXATTR when the xattr key exists in cache. So the existing keys (eligible for caching) will never be removed. I also found a minor problem in is_mdc_key_satisfied(), which prints many "doesn't satisfy caching requirements" trace messages, even when the key is eligible for caching. I have confermed that default acls are removed as expected if I disable md-cache by setting performance.md-cache-pass-through=on. The problem seems to be resolved by commit 36e2ec3c88eba7a1bcd8aa6f64e4672349ff1d0c on master branch, but not on release-4.1 and release-5 branches. Please consider applying the fix to release 5. Hi Homma, we are focusing on glusterfs-6.0 and beyond for further validation of bugs, as this release and beyond has many stability fixes. Please upgrade to glusterfs-6.x and we would be happy to help further. https://review.gluster.org/#/c/glusterfs/+/21411/ |