summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2014-12-23 06:54:50 +0100
committerPranith Kumar Karampuri <pkarampu@redhat.com>2014-12-22 23:29:54 -0800
commit9a6ea92df1007cc6f402ff7cc560e3206fa42e62 (patch)
treefe31bb641e4e4c3684e81fe14a71534636d0593d /xlators/mount/fuse
parentda9deb54df91dedc51ebe165f3a0be646455cb5b (diff)
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. BUG: 1129939 Change-Id: Ic0177e0df753a4748624d0b906834ed54593adb9 Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Reviewed-on: http://review.gluster.org/9291 Reviewed-by: Ravishankar N <ravishankar@redhat.com> Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators/mount/fuse')
0 files changed, 0 insertions, 0 deletions