Bug 1244116

Summary: quota: brick crashes when create and remove performed in parallel
Product: [Community] GlusterFS Reporter: Vijaikumar Mallikarjuna <vmallika>
Component: quotaAssignee: Vijaikumar Mallikarjuna <vmallika>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.7.2CC: bugs, gluster-bugs, senaik, smohan, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1244109 Environment:
Last Closed: 2015-07-30 09:51:05 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:
Bug Depends On: 1236672, 1244109    
Bug Blocks: 1241807    

Comment 1 Anand Avati 2015-07-17 07:46:59 UTC
REVIEW: http://review.gluster.org/11707 (quota/marker: contribution with list_del can cause mem corruption) posted (#1) for review on release-3.7 by Vijaikumar Mallikarjuna (vmallika)

Comment 2 Anand Avati 2015-07-21 09:35:37 UTC
COMMIT: http://review.gluster.org/11707 committed in release-3.7 by Raghavendra G (rgowdapp) 
------
commit c5ba8c0c02309a05e2a4fe7e59990144fcccb6dc
Author: vmallika <vmallika>
Date:   Fri Jul 17 12:50:59 2015 +0530

    quota/marker: contribution with list_del can cause mem corruption
    
    This is a backport review.gluster.org/#/c/11706/
    
    There is a possibility that contribution is removed twice from list
    during unlink operation (with hard links) or during rename operation
    
    Use list_del_init for a thread safe deltion of member from list
    
    > Change-Id: Iff5e0c03cc8f0ed85da0db1739b84b695abf9ea6
    > BUG: 1244109
    > Signed-off-by: vmallika <vmallika>
    
    Change-Id: I79770c7e31a1d27e0fdfa6d1b0e28c8b03ba3329
    BUG: 1244116
    Signed-off-by: vmallika <vmallika>
    Reviewed-on: http://review.gluster.org/11707
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Raghavendra G <rgowdapp>
    Tested-by: Raghavendra G <rgowdapp>

Comment 3 Kaushal 2015-07-30 09:51:05 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.3, please open a new bug report.

glusterfs-3.7.3 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/12078
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user