X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Ftest%2Fbench%2Ftestfilestore_backend.h;fp=src%2Fceph%2Fsrc%2Ftest%2Fbench%2Ftestfilestore_backend.h;h=0000000000000000000000000000000000000000;hb=7da45d65be36d36b880cc55c5036e96c24b53f00;hp=412d93c860fe001f7c3a9c37a6047157013d6637;hpb=691462d09d0987b47e112d6ee8740375df3c51b2;p=stor4nfv.git diff --git a/src/ceph/src/test/bench/testfilestore_backend.h b/src/ceph/src/test/bench/testfilestore_backend.h deleted file mode 100644 index 412d93c..0000000 --- a/src/ceph/src/test/bench/testfilestore_backend.h +++ /dev/null @@ -1,37 +0,0 @@ -// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- - -#ifndef TESTFILESTOREBACKENDH -#define TESTFILESTOREBACKENDH - -#include "common/Finisher.h" -#include "backend.h" -#include "include/Context.h" -#include "os/ObjectStore.h" - -class TestFileStoreBackend : public Backend { - ObjectStore *os; - Finisher finisher; - map osrs; - const bool write_infos; - -public: - TestFileStoreBackend(ObjectStore *os, bool write_infos); - ~TestFileStoreBackend() override { - finisher.stop(); - } - void write( - const string &oid, - uint64_t offset, - const bufferlist &bl, - Context *on_applied, - Context *on_commit) override; - - void read( - const string &oid, - uint64_t offset, - uint64_t length, - bufferlist *bl, - Context *on_complete) override; -}; - -#endif