[Bugs] [Bug 1404442] New: The root inode is not cached by md-cache

bugzilla at redhat.com bugzilla at redhat.com
Tue Dec 13 21:19:42 UTC 2016


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

            Bug ID: 1404442
           Summary: The root inode is not cached by md-cache
           Product: GlusterFS
           Version: mainline
         Component: md-cache
          Assignee: bugs at gluster.org
          Reporter: sshreyas at fb.com
                CC: bugs at gluster.org



Description of problem:
- `is_mdc_key_satisfied()` is returning 0 when it has not checked any of the
keys
- This causes the cache'd value for the root inode to always be invalid
(`mdc_xattr_satisfied()` returns 0, which causes us to jump to `uncached').
- In this diff we add a new option called "strict-xattrs", when enabled winds
getxattr calls for those keys not present in our cache.
- This allows "special" getxattr commands (quota cli commands for example) to
work when md-cache is enabled.


Version-Release number of selected component (if applicable): Found in FB
development branaches


How reproducible: Always reproducible


Committed in release-3.8-fb @ http://review.gluster.org/#/c/16060/

-- 
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