From 95d716cc7098cb04063649584e0774f49a580e1d Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Fri, 3 Nov 2017 12:03:49 -0400 Subject: [PATCH] librbd: added preprocessor macro for detecting compare-and-write support Fixes: http://tracker.ceph.com/issues/22036 Signed-off-by: Jason Dillaman --- src/include/rbd/librbd.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.3