diff options
author | chunmei-liu <chunmei.liu@intel.com> | 2023-01-11 06:39:16 +0100 |
---|---|---|
committer | chunmei-liu <chunmei.liu@intel.com> | 2023-01-11 06:39:16 +0100 |
commit | bc5876e3b975f01525243616e0d04fe46605aa58 (patch) | |
tree | 3d460e78518c92ddb537ec760879352a8ac04cdf /src/crimson/os/alienstore/alien_store.h | |
parent | crimson/os: support multicores for cyanstore (diff) | |
download | ceph-bc5876e3b975f01525243616e0d04fe46605aa58.tar.xz ceph-bc5876e3b975f01525243616e0d04fe46605aa58.zip |
crimson/os: make load_pgs() load pg on proper core
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
Diffstat (limited to 'src/crimson/os/alienstore/alien_store.h')
-rw-r--r-- | src/crimson/os/alienstore/alien_store.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crimson/os/alienstore/alien_store.h b/src/crimson/os/alienstore/alien_store.h index 1b6a4276479..f299ffda811 100644 --- a/src/crimson/os/alienstore/alien_store.h +++ b/src/crimson/os/alienstore/alien_store.h @@ -19,6 +19,7 @@ class Transaction; } namespace crimson::os { +using coll_core_t = FuturizedStore::coll_core_t; class AlienStore final : public FuturizedStore { public: AlienStore(const std::string& type, @@ -69,7 +70,7 @@ public: seastar::future<CollectionRef> create_new_collection(const coll_t& cid) final; seastar::future<CollectionRef> open_collection(const coll_t& cid) final; - seastar::future<std::vector<coll_t>> list_collections() final; + seastar::future<std::vector<coll_core_t>> list_collections() final; seastar::future<> do_transaction_no_callbacks( CollectionRef c, |