[Bugs] [Bug 1266836] 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:39 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1266836
--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/12234 committed in release-3.7 by Pranith
Kumar Karampuri (pkarampu at redhat.com)
------
commit 1a1b00fcd0ec199d19652d8fceb9465cc4edf189
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
Backport of review.gluster.org/#/c/12233/
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: 1266836
Signed-off-by: Ravishankar N <ravishankar at redhat.com>
Reviewed-on: http://review.gluster.org/12234
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=BwCVvSv3KB&a=cc_unsubscribe
More information about the Bugs
mailing list