diff options
author | Xavier Hernandez <xhernandez@datalab.es> | 2016-06-13 12:42:47 +0200 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2016-06-13 18:03:18 -0700 |
commit | fb013a9db2cc019d36b07644f24e6c15ed39725c (patch) | |
tree | d8a6d3f462fd3601a21096971ed434730da9726c /xlators/mgmt/glusterd | |
parent | e0b057cf28abc534f1fc74f4ea921c78a52ab6fe (diff) |
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.
Change-Id: I5c8a8c6610c5136f71b938aa78b5878ba05238d4
BUG: 1345855
Signed-off-by: Xavier Hernandez <xhernandez@datalab.es>
Reviewed-on: http://review.gluster.org/14712
Smoke: Gluster Build System <jenkins@build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd')
0 files changed, 0 insertions, 0 deletions