From: Jason Dillaman Date: Fri, 3 Nov 2017 16:03:49 +0000 (-0400) Subject: librbd: added preprocessor macro for detecting compare-and-write support X-Git-Tag: v13.0.1~285^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=95d716cc7098cb04063649584e0774f49a580e1d;p=ceph-ci.git librbd: added preprocessor macro for detecting compare-and-write support Fixes: http://tracker.ceph.com/issues/22036 Signed-off-by: Jason Dillaman --- diff --git a/src/include/rbd/librbd.h b/src/include/rbd/librbd.h index af782e6e457..a7f09b10afa 100644 --- a/src/include/rbd/librbd.h +++ b/src/include/rbd/librbd.h @@ -41,6 +41,7 @@ extern "C" { #define LIBRBD_SUPPORTS_AIO_FLUSH 1 #define LIBRBD_SUPPORTS_AIO_OPEN 1 +#define LIBRBD_SUPPORTS_COMPARE_AND_WRITE 1 #define LIBRBD_SUPPORTS_LOCKING 1 #define LIBRBD_SUPPORTS_INVALIDATE 1 #define LIBRBD_SUPPORTS_IOVEC 1