summaryrefslogtreecommitdiffstats
path: root/src/librados/librados_cxx.cc
diff options
context:
space:
mode:
authorPatrick Donnelly <pdonnell@redhat.com>2020-09-01 22:24:59 +0200
committerPatrick Donnelly <pdonnell@redhat.com>2020-09-01 22:24:59 +0200
commitc27bf1ced2c6e3dea32f4c109267e09c4f0b8e47 (patch)
tree4e29c8fd7127468276d3f6efd3d248f527f011c5 /src/librados/librados_cxx.cc
parentMerge pull request #35899 from myoungwon/wip-fix-manifest-tier (diff)
parentdoc: document cephfs mirroring developement status (diff)
downloadceph-c27bf1ced2c6e3dea32f4c109267e09c4f0b8e47.tar.xz
ceph-c27bf1ced2c6e3dea32f4c109267e09c4f0b8e47.zip
Merge PR #35697 into master
* refs/pull/35697/head: doc: document cephfs mirroring developement status cephfs-mirror: cephfs-mirror daemon cephfs-mirror: FSMirror class to synchronize directory snaps common: introduce configuration options for cephfs-mirror daemon cephfs-mirror: InstanceWatcher class to register mirror instance cephfs-mirror: MirrorWatcher class to watch cephfs-mirror object cephfs-mirror: Watcher class to receive/ack watch notifications cephfs-mirror: ClusterWatcher class for watching peer changes librados: add API for fetching client addrs common: add cephfs_mirror subsystem cephfs-mirror: filesystem specification class Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Diffstat (limited to 'src/librados/librados_cxx.cc')
-rw-r--r--src/librados/librados_cxx.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/librados/librados_cxx.cc b/src/librados/librados_cxx.cc
index 44772db6810..24810410b64 100644
--- a/src/librados/librados_cxx.cc
+++ b/src/librados/librados_cxx.cc
@@ -2816,6 +2816,10 @@ int librados::Rados::blocklist_add(const std::string& client_address,
return client->blocklist_add(client_address, expire_seconds);
}
+std::string librados::Rados::get_addrs() const {
+ return client->get_addrs();
+}
+
librados::PoolAsyncCompletion *librados::Rados::pool_async_create_completion()
{
PoolAsyncCompletionImpl *c = new PoolAsyncCompletionImpl;