From f20618f4e2d9a3376fb9c36f5b8cf35662ccb45c Mon Sep 17 00:00:00 2001 From: Xiubo Li Date: Thu, 6 Aug 2020 11:56:26 +0800 Subject: [PATCH] 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 (cherry picked from commit 63cb60b52596d85b44ca8698ed48f9358fdda96a) --- src/include/rados/librados.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/rados/librados.h b/src/include/rados/librados.h index 3d4c80057e7c..3f469a1b386f 100644 --- a/src/include/rados/librados.h +++ b/src/include/rados/librados.h @@ -49,6 +49,7 @@ extern "C" { #define LIBRADOS_SUPPORTS_WATCH 1 #define LIBRADOS_SUPPORTS_SERVICES 1 +#define LIBRADOS_SUPPORTS_GETADDRS 1 #define LIBRADOS_SUPPORTS_APP_METADATA 1 /* RADOS lock flags -- 2.47.3