]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librados: add LIBRADOS_SUPPORTS_GETADDRS support 36853/head
authorXiubo Li <xiubli@redhat.com>
Thu, 6 Aug 2020 03:56:26 +0000 (11:56 +0800)
committerJason Dillaman <dillaman@redhat.com>
Thu, 27 Aug 2020 13:26:29 +0000 (09:26 -0400)
commitf20618f4e2d9a3376fb9c36f5b8cf35662ccb45c
treed25ff46be43ee5bebae649b6df1715306d2f8cbf
parentfc8ba27ea5dd9082c4bcb551c85152ec0ae196d8
librados: add LIBRADOS_SUPPORTS_GETADDRS support

This will be very helpful when release ceph package(like RPM) with
backporting rados_getaddrs() api to previous version.

In tcmu-runner we need to check whether the rados_getaddrs() is
support or not.

Fixes: https://tracker.ceph.com/issues/46842
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 63cb60b52596d85b44ca8698ed48f9358fdda96a)
src/include/rados/librados.h