]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd: remove canceled tasks from timer thread 7426/head
authorDouglas Fuller <dfuller@redhat.com>
Fri, 22 Jan 2016 19:18:40 +0000 (11:18 -0800)
committerAbhishek Varshney <abhishek.varshney@flipkart.com>
Fri, 29 Jan 2016 10:05:37 +0000 (15:35 +0530)
commitf870ba9ab41cac127d182a52f435c7adc628de71
tree060f762f827e1c20adeee1e0f98e4eda20a26081
parentbb2ecea240f3a1d525bcb35670cb07bd1f0ca299
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)
src/librbd/TaskFinisher.h