1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
3 #ifndef CEPH_TEST_SMALLIOBENCH_RBD_BACKEND_H
4 #define CEPH_TEST_SMALLIOBENCH_RBD_BACKEND_H
7 #include "include/Context.h"
8 #include "include/rbd/librbd.hpp"
10 class RBDBackend : public Backend {
11 map<string, ceph::shared_ptr<librbd::Image> > *m_images;
13 explicit RBDBackend(map<string, ceph::shared_ptr<librbd::Image> > *images)
20 Context *on_commit) override;
27 Context *on_complete) override;