From 82eb614ce5550ff974fa4d5a4dc0cff113221677 Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Wed, 21 Jul 2021 10:46:43 +0000 Subject: [PATCH] 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 --- src/os/ObjectStore.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); -- 2.39.5