]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: replace Finisher/SafeTimer use with facade
authorJason Dillaman <dillaman@redhat.com>
Wed, 25 Feb 2015 04:35:31 +0000 (23:35 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 26 Feb 2015 00:51:07 +0000 (19:51 -0500)
commitc611936c83465ac1d28112eafc3e7a9afe6c934b
tree542c3e39bbeb08c7e357e9a3b7b4d3dbf458c2ff
parent41e186a24f42d1256dd93d741f07d48f739dc135
librbd: replace Finisher/SafeTimer use with facade

Replace the two Context threading classes used within
ImageWatcher with a facade to orchestrate the scheduling
and canceling of Context task callbacks.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/ImageWatcher.cc
src/librbd/ImageWatcher.h
src/librbd/Makefile.am
src/librbd/TaskFinisher.h [new file with mode: 0644]
src/librbd/WatchNotifyTypes.h