Bug #14476
rbd: TaskFinisher::cancel should remove event from SafeTimer
0%
Description
TaskFinisher needs to call SafeTimer::cancel_event, otherwise canceled events fire anyway.
Related issues
Associated revisions
rbd: remove canceled tasks from timer thread
When canceling scheduled tasks using the timer thread, TaskFinisher::cancel
does not call SafeTimer::cancel_event, so events fire anyway. Add this call.
Fixes: #14476
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
rbd: remove canceled tasks from timer thread
When canceling scheduled tasks using the timer thread, TaskFinisher::cancel
does not call SafeTimer::cancel_event, so events fire anyway. Add this call.
Fixes: #14476
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
(cherry picked from commit 2aa0f318c862dbe3027d74d345671506605778eb)
rbd: remove canceled tasks from timer thread
When canceling scheduled tasks using the timer thread, TaskFinisher::cancel
does not call SafeTimer::cancel_event, so events fire anyway. Add this call.
Fixes: #14476
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
(cherry picked from commit 2aa0f318c862dbe3027d74d345671506605778eb)
History
#1 Updated by Douglas Fuller about 8 years ago
#2 Updated by Douglas Fuller about 8 years ago
- Status changed from New to Fix Under Review
#3 Updated by Jason Dillaman about 8 years ago
- Backport set to hammer, infernalis
#4 Updated by Douglas Fuller about 8 years ago
- Status changed from Fix Under Review to Pending Backport
#5 Updated by Loïc Dachary about 8 years ago
- Copied to Backport #14552: infernalis: rbd: TaskFinisher::cancel should remove event from SafeTimer added
#6 Updated by Loïc Dachary about 8 years ago
- Copied to Backport #14553: hammer: rbd: TaskFinisher::cancel should remove event from SafeTimer added
#7 Updated by Loïc Dachary about 8 years ago
- Status changed from Pending Backport to Resolved