[Bugs] [Bug 1164506] New: md-cache checks for modification using whole seconds only
bugzilla at redhat.com
bugzilla at redhat.com
Sat Nov 15 22:29:17 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1164506
Bug ID: 1164506
Summary: md-cache checks for modification using whole seconds
only
Product: GlusterFS
Version: mainline
Component: core
Keywords: Patch, Triaged
Severity: medium
Priority: medium
Assignee: ndevos at redhat.com
Reporter: ndevos at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com
Blocks: 1158126
+++ This bug was initially created as a clone of Bug #1158126 +++
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.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1158126
[Bug 1158126] md-cache checks for modification using whole seconds only
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=kFQTfP8JBa&a=cc_unsubscribe
More information about the Bugs
mailing list