[Bugs] [Bug 1586018] (f)Setxattr and (f) removexattr invalidates the stat cache in md-cache
bugzilla at redhat.com
bugzilla at redhat.com
Wed Jul 11 04:12:32 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1586018
Worker Ant <bugzilla-bot at gluster.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|POST |MODIFIED
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16101 committed in master by "Amar Tumballi"
<amarts at redhat.com> with a commit message- md-cache: Do not invalidate cache
post set/remove xattr
Since setxattr and removexattr fops cbk do not carry poststat,
the stat cache was being invalidated in setxatr/remoxattr cbk.
Hence the further lookup wouldn't be served from cache.
To prevent this invalidation, md-cache is modified to get
the poststat in set/removexattr_cbk in dict.
Co-authored with Xavi Hernandez.
Change-Id: I6b946be2d20b807e2578825743c25ba5927a60b4
fixes: bz#1586018
Signed-off-by: Xavi Hernandez <xhernandez at redhat.com>
Signed-off-by: Poornima G <pgurusid 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