[Bugs] [Bug 1158126] New: md-cache checks for modification using whole seconds only
bugzilla at redhat.com
bugzilla at redhat.com
Tue Oct 28 16:05:18 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1158126
Bug ID: 1158126
Summary: md-cache checks for modification using whole seconds
only
Product: GlusterFS
Version: 3.6.0
Component: core
Severity: medium
Assignee: bugs at gluster.org
Reporter: pspencer at fields.utoronto.ca
CC: bugs at gluster.org, gluster-bugs at redhat.com
Created attachment 951443
--> https://bugzilla.redhat.com/attachment.cgi?id=951443&action=edit
Patch to make md-cache check subsecond timing values
This is one of the "other bugs" mentioned in bug #1158120.
When md-cache checks for an updated mtime/ctime in order to see if it should
request a cache invalidation, it only looks at the whole-second "mtime" and
"ctime" fields. If a file was modified a fraction of a second after the time of
the cached data, md-cache won't notice the change.
The attached patch makes md-cache look at the mtime_nsec and ctime_nsec fields
too.
--
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