[Bugs] [Bug 1266834] AFR : fuse, nfs mount hangs when directories with same names are created and deleted continuously

bugzilla at redhat.com bugzilla at redhat.com
Tue Oct 13 11:26:20 UTC 2015


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



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/12233 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com) 
------
commit 79c5a715f9bab49f48876ab4f4bc79d211c0d7f1
Author: Ravishankar N <ravishankar at redhat.com>
Date:   Wed Sep 16 16:35:19 2015 +0530

    protocol/client: give preference to loc->gfid over inode->gfid

    There are xlators which perform fops even before inode gets linked. Because
of
    this loc.gfid is preferred at the time of inodelk/entrylk but by the time
    unlock can happen, inode could be linked with a different gfid than the one
in
    loc.gfid (because of the way dht was giving preference) Due to this unlock
goes
    on a different inode than the one we sent inodelk on, which leads to hang.

    Credits to Pranith for the fix.

    Change-Id: I7d162d44852ba876f35aa1bb83e4afdb184d85b9
    BUG: 1266834
    Signed-off-by: Ravishankar N <ravishankar at redhat.com>
    Reviewed-on: http://review.gluster.org/12233
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu 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=5aFgvsRm2w&a=cc_unsubscribe


More information about the Bugs mailing list