Bug 761943 (GLUSTER-211)

Summary: libglusterfsclient: Race condition against vmplist in libgf_vmp_map_ghandle
Product: [Community] GlusterFS Reporter: Shehjar Tikoo <shehjart>
Component: libglusterfsclientAssignee: Shehjar Tikoo <shehjart>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTP Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Shehjar Tikoo 2009-08-13 08:09:55 UTC
We're not locking the vmplist when we need to add a new entry. This can cause a race condition between a thread trying to perform a new mount and another trying to search for an entry in the vmp list.

Comment 1 Anand Avati 2009-08-17 18:37:42 UTC
PATCH: http://patches.gluster.com/patch/1021 in master (libglusterfsclient: Sync access to VMP list on new entry addition)

Comment 2 Anand Avati 2009-08-17 18:37:58 UTC
PATCH: http://patches.gluster.com/patch/1018 in release-2.0 (libglusterfsclient: Sync access to VMP list on new entry addition)