Bug 1262750

Summary: DHT: mount hangs when directories are created-deleted continuously from multiple mounts
Product: [Community] GlusterFS Reporter: Sakshi <sabansal>
Component: distributeAssignee: Sakshi <sabansal>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, sarumuga, skoduri, smohan
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-18 05:03:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sakshi 2015-09-14 09:25:06 UTC
Description of problem:
DHT: mount hangs when directories are created and deleted continuously from multiple mounts

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Create a dist-rep volume
2.Create and delete directories continuously from mount
3.Perform step 2 parallely from multiple mounts (say 4)

Actual results:
One or more mount hangs after sometime

Expected results:
Mount should not hang

Additional info:
Due to existing race between rmdir/selfheal, sometimes directories end up having gfid mismatch. Hence AFR may unlock on different gfid and not on the one it locked initially thereby blocking another client.

Comment 1 Sakshi 2016-05-18 05:03:52 UTC

*** This bug has been marked as a duplicate of bug 1286582 ***

Comment 2 Sakshi 2016-05-18 05:07:40 UTC

*** This bug has been marked as a duplicate of bug 1266834 ***