[Bugs] [Bug 1164506] md-cache checks for modification using whole seconds only

bugzilla at redhat.com bugzilla at redhat.com
Thu Nov 20 07:01:31 UTC 2014


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



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9131 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit 33800b332ec7aa70fa14809c1030cfabaddc02a0
Author: Niels de Vos <ndevos at redhat.com>
Date:   Sat Nov 15 23:30:31 2014 +0100

    md-cache: check mtime_nsec and ctime_nsec fields for changes too

    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.

    BUG: 1164506
    Change-Id: Ieb7baa46f84489d2d7ea8d60a7fb2595564eb955
    Original-author: Philip Spencer <pspencer at fields.utoronto.ca>
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: http://review.gluster.org/9131
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Xavier Hernandez <xhernandez at datalab.es>
    Reviewed-by: Vijay Bellur <vbellur at redhat.com>

-- 
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=IFSX12SwWH&a=cc_unsubscribe


More information about the Bugs mailing list