]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: remove canceled tasks from timer thread 7417/head
authorDouglas Fuller <dfuller@redhat.com>
Fri, 22 Jan 2016 19:18:40 +0000 (11:18 -0800)
committerLoic Dachary <ldachary@redhat.com>
Fri, 29 Jan 2016 05:23:08 +0000 (12:23 +0700)
commit46d626d92d7af218816d831cfcc1265b3ea31b72
treea717dbe816e4cb64aa881e900f37dfa1b4f9b67b
parent86ba6caf992d2544cdd174e3b3f26a6099c91fc5
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