[Bugs] [Bug 1422074] GlusterFS truncates nanoseconds to microseconds when setting mtime

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 1 17:29:42 UTC 2017


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



--- Comment #8 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/16789 committed in master by Jeff Darcy
(jdarcy at redhat.com) 
------
commit c78d07fb8efdd5f63284332473852619d5da4244
Author: Niklas Hambüchen <mail at nh2.me>
Date:   Tue Feb 28 14:05:59 2017 +0100

    tests: Fix and enable split-brain-healing mtime check

    This test was commented out with the belief that it depended
    on utimensat() support, but in fact it was not necessary because
    `stat -c %Y` only outputs second resolution.

    Simply commenting in the test made it fail because it checked
    the values *before* the heal, while intended was to check them
    *after* the heal. This commit fixes that.

    Change-Id: I4194ac645b365a1f906a3ac9bcbbdb1f05000e27
    BUG: 1422074
    Signed-off-by: Niklas Hambüchen <mail at nh2.me>
    Reviewed-on: https://review.gluster.org/16789
    Reviewed-by: Ravishankar N <ravishankar at redhat.com>
    Tested-by: Ravishankar N <ravishankar at redhat.com>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Niklas Hambüchen

-- 
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