From: Radoslaw Zarzynski Date: Wed, 21 Jul 2021 10:46:43 +0000 (+0000) Subject: crimson/os: let AlienStore adapt MemStore. X-Git-Tag: v17.1.0~1314^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=82eb614ce5550ff974fa4d5a4dc0cff113221677;p=ceph-ci.git crimson/os: let AlienStore adapt MemStore. This is useful in perf testing and benchmarking as it allows, through comparison with `CyanStore`, to judge to pentalty of `AlienStore`. Signed-off-by: Radoslaw Zarzynski --- diff --git a/src/os/ObjectStore.cc b/src/os/ObjectStore.cc index 75deb19662a..f0c7029f432 100644 --- a/src/os/ObjectStore.cc +++ b/src/os/ObjectStore.cc @@ -19,8 +19,8 @@ #ifndef WITH_SEASTAR #include "filestore/FileStore.h" -#include "memstore/MemStore.h" #endif +#include "memstore/MemStore.h" #if defined(WITH_BLUESTORE) #include "bluestore/BlueStore.h" #endif @@ -35,11 +35,9 @@ std::unique_ptr ObjectStore::create( const string& type, const string& data) { -#ifndef WITH_SEASTAR if (type == "memstore") { return std::make_unique(cct, data); } -#endif #if defined(WITH_BLUESTORE) if (type == "bluestore" || type == "random") { return std::make_unique(cct, data);