From: Josh Durgin Date: Thu, 4 Jun 2015 20:05:13 +0000 (-0700) Subject: librbd: add a constant for single-client-only features X-Git-Tag: v9.0.2~47^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fbe328e2404ff70d1f9f1cdb8e1dd6a9cc13bd98;p=ceph.git librbd: add a constant for single-client-only features This way it's easy to disable them if you want to access an image from multiple clients. Signed-off-by: Josh Durgin --- diff --git a/src/include/rbd/features.h b/src/include/rbd/features.h index 34d688d7b46ae..b597bc089136b 100644 --- a/src/include/rbd/features.h +++ b/src/include/rbd/features.h @@ -28,4 +28,8 @@ RBD_FEATURE_OBJECT_MAP | \ RBD_FEATURE_FAST_DIFF) +#define RBD_FEATURES_SINGLE_CLIENT (RBD_FEATURE_EXCLUSIVE_LOCK | \ + RBD_FEATURE_OBJECT_MAP | \ + RBD_FEATURE_FAST_DIFF) + #endif