Bug 1227449 - Fix deadlock in timer-wheel del_timer() API
Summary: Fix deadlock in timer-wheel del_timer() API
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Venky Shankar
QA Contact: GlusterFS Bugs list
URL:
Whiteboard:
Depends On:
Blocks: 1227611 1231026
TreeView+ depends on / blocked
 
Reported: 2015-06-02 16:52 UTC by Venky Shankar
Modified: 2016-06-16 13:07 UTC (History)
4 users (show)

Fixed In Version: glusterfs-3.8rc2
Clone Of:
: 1227611 1231026 (view as bug list)
Environment:
Last Closed: 2016-06-16 13:07:33 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Venky Shankar 2015-06-02 16:52:29 UTC
Description of problem:
Deadlock in timer-wheel (contrib/timer-wheel) del_timer() API.

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

How reproducible:
always

Comment 1 Anand Avati 2015-06-02 16:57:05 UTC
REVIEW: http://review.gluster.org/11050 (contrib/timer-wheel: fix deadlock in del_timer()) posted (#1) for review on master by Venky Shankar (vshankar)

Comment 2 Anand Avati 2015-06-03 03:24:35 UTC
COMMIT: http://review.gluster.org/11050 committed in master by Venky Shankar (vshankar) 
------
commit 9a314fa22667bf5afe56e63e73f4b0f50cd291f6
Author: Venky Shankar <vshankar>
Date:   Tue Jun 2 21:49:13 2015 +0530

    contrib/timer-wheel: fix deadlock in del_timer()
    
    commit eaf3bfa added mod_timers() and successfully screwed up
    del_timer() by incorrectly wrapping it within double lock
    blocks.
    
    del_timer() was included before the above commit for the sake of
    timer API completion, thankfully noone used it till now.
    
    Change-Id: I07a454a216cf09dbb84777a23630e74a1e7f2830
    BUG: 1227449
    Signed-off-by: Venky Shankar <vshankar>
    Reviewed-on: http://review.gluster.org/11050
    Reviewed-by: Niels de Vos <ndevos>
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>

Comment 3 Nagaprasad Sathyanarayana 2015-10-25 15:13:20 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:07:33 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.