]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: add internal API for plugin libraries 36802/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 25 Aug 2020 19:06:06 +0000 (15:06 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 27 Aug 2020 14:16:36 +0000 (10:16 -0400)
commit7b1a1109eac37620e5ae1b24412d1bb7dd0744e3
tree43223ab61b198110fabd16691ba5246252e51fb8
parent3e16fc42172e202b487426451dbd91472d71c1c2
librbd: add internal API for plugin libraries

To avoid the need to expose internal librbd symbols as public, expose
a select set of symbols via an internal plugin API for use by the
plugins.

Fixes: https://tracker.ceph.com/issues/46916
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/CMakeLists.txt
src/librbd/PluginRegistry.cc
src/librbd/PluginRegistry.h
src/librbd/cache/ParentCacheObjectDispatch.cc
src/librbd/cache/ParentCacheObjectDispatch.h
src/librbd/plugin/Api.cc [new file with mode: 0644]
src/librbd/plugin/Api.h [new file with mode: 0644]
src/librbd/plugin/ParentCache.cc
src/librbd/plugin/ParentCache.h
src/librbd/plugin/Types.h
src/test/librbd/cache/test_mock_ParentCacheObjectDispatch.cc