Created attachment 951443 [details] 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.
Philip, Thanks for the bug and patch. GlusterFS community uses Gerrit to review patches. Please refer below link to know developer work flow in GlusterFS community. If you are interested to post the patch yourself , you are welcome to do so. If you want us to post the patch on your behalf let us know. [1] http://www.gluster.org/community/documentation/index.php/Development_Work_Flow
http://review.gluster.org/9131 has been merged in master, and can get backported to 3.6: - http://www.gluster.org/community/documentation/index.php/Backport_Guidelines
This bug is being closed as GlusterFS-3.6 is nearing its End-Of-Life and only important security bugs will be fixed. This bug has been fixed in more recent GlusterFS releases. If you still face this bug with the newer GlusterFS versions, please open a new bug.