[Bugs] [Bug 1346156] Possible crash due to a timer cancellation race

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 18 06:29:09 UTC 2016


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



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14724 committed in release-3.7 by Xavier
Hernandez (xhernandez at datalab.es) 
------
commit 74d2aaf51c7ff601e4394cad9f8e23092267af55
Author: Xavier Hernandez <xhernandez at datalab.es>
Date:   Mon Jun 13 12:42:47 2016 +0200

    cluster/ec: Fix race in timer cancellation

    A race in timer cancellation for delayed unlock could cause a crash
    if the cancelling thread fails to cancel the timer because it has
    already been fired but not executed, and the callback is scheduled
    out of the CPU, delaying it until the thread has released important
    resources needed by the callback.

    This patch improves the handling of this case to make it robust.

    Backport of:
    > Change-Id: I5c8a8c6610c5136f71b938aa78b5878ba05238d4
    > BUG: 1345855
    > Signed-off-by: Xavier Hernandez <xhernandez at datalab.es>
    > Reviewed-on: http://review.gluster.org/14712
    > Smoke: Gluster Build System <jenkins at build.gluster.com>
    > NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    > CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    > Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>

    Change-Id: I5c8a8c6610c5136f71b938aa78b5878ba05238d4
    BUG: 1346156
    Signed-off-by: Xavier Hernandez <xhernandez at datalab.es>
    Reviewed-on: http://review.gluster.org/14724
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>

-- 
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=EjXFXx8ttz&a=cc_unsubscribe


More information about the Bugs mailing list