diff options
author | Chunmei Liu <chunmei.liu@intel.com> | 2020-01-22 08:25:02 +0100 |
---|---|---|
committer | Chunmei Liu <chunmei.liu@intel.com> | 2020-02-28 05:00:29 +0100 |
commit | b15524076d7d7ca72eac09af9b216effa44bddd6 (patch) | |
tree | df65184311ba95c5492e20af7e57c88cf3195471 /src/common/perf_counters.h | |
parent | crimson:disable heap profiler for seastar (diff) | |
download | ceph-b15524076d7d7ca72eac09af9b216effa44bddd6.tar.xz ceph-b15524076d7d7ca72eac09af9b216effa44bddd6.zip |
crimson:add alien blue store
adds an alien store wrapper for ceph blue store, which will
create a thread pool, so crimson-osd can call bluestore API
which is running in Posix thread from seastar thread.
Signed-off-by: Chunmei Liu <chunmei.liu@intel.com>
Diffstat (limited to 'src/common/perf_counters.h')
-rw-r--r-- | src/common/perf_counters.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/perf_counters.h b/src/common/perf_counters.h index 1f9391137e8..c5f69aa7ce3 100644 --- a/src/common/perf_counters.h +++ b/src/common/perf_counters.h @@ -113,7 +113,7 @@ public: prio_default = prio_; } - TOPNSPC::common::PerfCounters* create_perf_counters(); + PerfCounters* create_perf_counters(); private: PerfCountersBuilder(const PerfCountersBuilder &rhs); PerfCountersBuilder& operator=(const PerfCountersBuilder &rhs); @@ -121,7 +121,7 @@ private: const char *description, const char *nick, int prio, int ty, int unit=UNIT_NONE, std::unique_ptr<PerfHistogram<>> histogram = nullptr); - TOPNSPC::common::PerfCounters *m_perf_counters; + PerfCounters *m_perf_counters; int prio_default = 0; }; @@ -289,7 +289,7 @@ private: int prio_adjust = 0; -#ifndef WITH_SEASTAR +#if !defined(WITH_SEASTAR) || defined(WITH_ALIEN) const std::string m_lock_name; /** Protects m_data */ ceph::mutex m_lock; |