]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
neorados: use a lightweight proxy object to abstract RADOS backend
authorJason Dillaman <dillaman@redhat.com>
Mon, 6 Jul 2020 19:27:48 +0000 (15:27 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 6 Jul 2020 20:12:35 +0000 (16:12 -0400)
commit83b82bc3d6295b76115f06cd2b83aa18085cb4af
tree4d1898f99d7cff7d2d5484798df6c5906adc7402
parent32e2e907e52f083a7203fdeb8308e8e842a67a51
neorados: use a lightweight proxy object to abstract RADOS backend

Both neorados and (legacy) librados create MON, MGR, and OSD
(objecter) clients. Let the neorados frontend API directly access
these clients through a generic class that can be swapped out.
This will allow the neorados API to re-use a (legacy) librados
RadosClient in a future commit.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/include/neorados/RADOS.hpp
src/neorados/RADOS.cc
src/neorados/RADOSImpl.h