]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
neorados: build new RADOS client using legacy librados::Rados 35964/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 6 Jul 2020 20:08:56 +0000 (16:08 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 6 Jul 2020 21:11:07 +0000 (17:11 -0400)
commit2148f22db612d0c7ea3b7aa15ac91b18f63505d1
tree19c0dc68a4e8126c1734ef47a6b7e1e4f80d3126
parent83b82bc3d6295b76115f06cd2b83aa18085cb4af
neorados: build new RADOS client using legacy librados::Rados

Client libraries like librbd cannot force the adaptation to neorados
and it would not be ideal to have two effective RADOS cluster
connections for librados and neorados.

The new neorados::RADOS::make_with_librados helper method will
allow neorados to re-use the existing thread pool, MGR, MON, and
objecter already created for librados::Rados.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/include/neorados/RADOS.hpp
src/include/rados/librados.hpp
src/librados/RadosClient.h
src/neorados/RADOS.cc
src/neorados/RADOSImpl.h
src/test/neorados/CMakeLists.txt
src/test/neorados/test_neorados.cc [new file with mode: 0644]