[Bugs] [Bug 1138897] NetBSD port

bugzilla at redhat.com bugzilla at redhat.com
Wed Dec 24 06:08:39 UTC 2014


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



--- Comment #74 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9319 committed in release-3.6 by Raghavendra
Bhat (raghavendra at redhat.com) 
------
commit 190037c10ce0e5e56e67a248e10f86538e3cdfc4
Author: Emmanuel Dreyfus <manu at netbsd.org>
Date:   Tue Dec 23 06:54:53 2014 +0100

    Avoid spurious directory metedata split brain

    When directory content is modified, [mc]time is updated. On
    Linux, the filesystem does it, while at least on NetBSD, the
    kernel file-system independant code does it. This means that
    when entries are added while bricks are down, the kernel sends
    a SETATTR [mc]time which will cause metadata split brain for
    the directory. In this case, clear the split brain by finding
    the source with the most recent modification date.

    Backport of: Ic0177e0df753a4748624d0b906834ed54593adb9

    BUG: 1138897
    Change-Id: Ic2e697be4f0074e2bbd3f23d6ad40a2d2d126a2c
    Signed-off-by: Emmanuel Dreyfus <manu at netbsd.org>
    Reviewed-on: http://review.gluster.org/9319
    Reviewed-by: Krutika Dhananjay <kdhananj at redhat.com>
    Reviewed-by: Ravishankar N <ravishankar at redhat.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Raghavendra Bhat <raghavendra at redhat.com>

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