Skip to content

Commit 7dd2397

Browse files
authored
Merge pull request ceph#48717 from liu-chunmei/multicore-seastore
crimson/os: support multicore seastore Reviewed-by: Yingxin Cheng <[email protected]> Reviewed-by: Samuel Just <[email protected]>
2 parents f79b943 + ad5b0c1 commit 7dd2397

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1555
-1340
lines changed

src/crimson/os/alienstore/alien_store.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ class Transaction;
2020

2121
namespace crimson::os {
2222
using coll_core_t = FuturizedStore::coll_core_t;
23-
class AlienStore final : public FuturizedStore {
23+
class AlienStore final : public FuturizedStore,
24+
public FuturizedStore::Shard {
2425
public:
2526
AlienStore(const std::string& type,
2627
const std::string& path,
@@ -99,6 +100,10 @@ class AlienStore final : public FuturizedStore {
99100
uint64_t off,
100101
uint64_t len) final;
101102

103+
FuturizedStore::Shard& get_sharded_store() final {
104+
return *this;
105+
}
106+
102107
private:
103108
template <class... Args>
104109
auto do_with_op_gate(Args&&... args) const {

0 commit comments

Comments
 (0)