[Bugs] [Bug 1231026] New: Fix deadlock in timer-wheel del_timer() API

bugzilla at redhat.com bugzilla at redhat.com
Fri Jun 12 03:28:55 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1231026

            Bug ID: 1231026
           Summary: Fix deadlock in timer-wheel del_timer() API
           Product: Red Hat Gluster Storage
           Version: 3.1
         Component: glusterfs
     Sub Component: core
          Assignee: rhs-bugs at redhat.com
          Reporter: vshankar at redhat.com
        QA Contact: sdharane at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com,
                    ndevos at redhat.com, vbellur at redhat.com
        Depends On: 1227449
            Blocks: 1227611
             Group: redhat



+++ This bug was initially created as a clone of Bug #1227449 +++

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

--- Additional comment from Anand Avati on 2015-06-02 12:57:05 EDT ---

REVIEW: http://review.gluster.org/11050 (contrib/timer-wheel: fix deadlock in
del_timer()) posted (#1) for review on master by Venky Shankar
(vshankar at redhat.com)

--- Additional comment from Anand Avati on 2015-06-02 23:24:35 EDT ---

COMMIT: http://review.gluster.org/11050 committed in master by Venky Shankar
(vshankar at redhat.com) 
------
commit 9a314fa22667bf5afe56e63e73f4b0f50cd291f6
Author: Venky Shankar <vshankar at redhat.com>
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 at redhat.com>
    Reviewed-on: http://review.gluster.org/11050
    Reviewed-by: Niels de Vos <ndevos at redhat.com>
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1227449
[Bug 1227449] Fix deadlock in timer-wheel del_timer() API
https://bugzilla.redhat.com/show_bug.cgi?id=1227611
[Bug 1227611] Fix deadlock in timer-wheel del_timer() API
-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=2VmXkSSJ7U&a=cc_unsubscribe


More information about the Bugs mailing list