Bug 1244109 - quota: brick crashes when create and remove performed in parallel
Summary: quota: brick crashes when create and remove performed in parallel
Alias: None
Product: GlusterFS
Classification: Community
Component: quota
Version: mainline
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Vijaikumar Mallikarjuna
QA Contact:
Depends On: 1236672
Blocks: 1241807 1244116
TreeView+ depends on / blocked
Reported: 2015-07-17 07:25 UTC by Vijaikumar Mallikarjuna
Modified: 2016-06-16 13:24 UTC (History)
5 users (show)

Fixed In Version: glusterfs-3.8rc2
Doc Type: Bug Fix
Doc Text:
Clone Of: 1236672
: 1244116 (view as bug list)
Last Closed: 2016-06-16 13:24:44 UTC
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:

Attachments (Terms of Use)

Comment 1 Anand Avati 2015-07-17 07:26:23 UTC
REVIEW: http://review.gluster.org/11706 (quota/marker: contribution with list_del can cause mem corruption) posted (#1) for review on master by Vijaikumar Mallikarjuna (vmallika@redhat.com)

Comment 2 Anand Avati 2015-07-20 05:16:27 UTC
COMMIT: http://review.gluster.org/11706 committed in master by Raghavendra G (rgowdapp@redhat.com) 
commit 0acd0b45e5ee22eb5bb35c21093136b3b062744f
Author: vmallika <vmallika@redhat.com>
Date:   Fri Jul 17 12:50:59 2015 +0530

    quota/marker: contribution with list_del can cause mem corruption
    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@redhat.com>
    Reviewed-on: http://review.gluster.org/11706
    Tested-by: Gluster Build System <jenkins@build.gluster.com>
    Tested-by: NetBSD Build System <jenkins@build.gluster.org>
    Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
    Reviewed-by: Raghavendra G <rgowdapp@redhat.com>

Comment 3 Nagaprasad Sathyanarayana 2015-10-25 14:51:38 UTC
Fix for this BZ is already present in a GlusterFS release. You can find clone of this BZ, fixed in a GlusterFS release and closed. Hence closing this mainline BZ as well.

Comment 4 Niels de Vos 2016-06-16 13:24:44 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.8.0, please open a new bug report.

glusterfs-3.8.0 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://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Note You need to log in before you can comment on or make changes to this bug.