// template definitions
#include "tools/rbd_mirror/ImageReplayer.cc"
-template class rbd::mirror::ImageReplayer<librbd::MockTestImageCtx>;
namespace rbd {
namespace mirror {
// template definitions
#include "tools/rbd_mirror/ImageSyncThrottler.cc"
-template class rbd::mirror::ImageSyncThrottler<librbd::MockTestImageCtx>;
namespace rbd {
namespace mirror {
shut_down(0);
}
-template <typename I>
-void ImageReplayer<I>::close_local_image(Context *on_finish)
-{
- m_local_image_ctx->state->close(on_finish);
-}
-
template <typename I>
void ImageReplayer<I>::handle_replay_ready()
{
bool on_replay_interrupted();
- void close_local_image(Context *on_finish); // for tests
-
private:
typedef typename librbd::journal::TypeTraits<ImageCtxT>::Journaler Journaler;
typedef boost::optional<State> OptionalState;