diff options
author | Maya Gilad <ms.maya.gilad@gmail.com> | 2021-05-27 12:16:34 +0200 |
---|---|---|
committer | Maya Gilad <ms.maya.gilad@gmail.com> | 2021-06-29 09:32:47 +0200 |
commit | 2e46894f31e7684df5764541f1c2f4dcfcc934cf (patch) | |
tree | d451ef4df839e6b32b3ee25c60c0b068ee0a24a7 /src/common/ceph_context.h | |
parent | Merge pull request #42076 from liu-chunmei/crimson-pgnls (diff) | |
download | ceph-2e46894f31e7684df5764541f1c2f4dcfcc934cf.tar.xz ceph-2e46894f31e7684df5764541f1c2f4dcfcc934cf.zip |
msgr: added on-wire-compression to msgr protocol 2.0
Signed-off-by: Maya Gilad <ms.maya.gilad@gmail.com>
Co-authored-by: Kefu Chai <tchaikov@gmail.com>
Diffstat (limited to 'src/common/ceph_context.h')
-rw-r--r-- | src/common/ceph_context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/ceph_context.h b/src/common/ceph_context.h index 25f52615b06..dee5157ceee 100644 --- a/src/common/ceph_context.h +++ b/src/common/ceph_context.h @@ -83,6 +83,9 @@ public: // everything crimson is experimental... return true; } + ceph::PluginRegistry* get_plugin_registry() { + return _plugin_registry; + } CryptoRandom* random() const; PerfCountersCollectionImpl* get_perfcounters_collection(); crimson::common::ConfigProxy& _conf; @@ -92,6 +95,7 @@ public: private: std::unique_ptr<CryptoRandom> _crypto_random; unsigned nref; + ceph::PluginRegistry* _plugin_registry; }; } #else |