Merge pull request #10984 from ceph/wip-kfsx-exclusive-lock

test/librbd/fsx: enable exclusive-lock feature in krbd mode

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
Jason Dillaman 2016-09-06 11:39:32 -04:00 committed by GitHub
commit 4b000c9fd9

View File

@ -725,8 +725,7 @@ __librbd_clone(struct rbd_ctx *ctx, const char *src_snapname,
uint64_t features = RBD_FEATURES_ALL;
if (krbd) {
features &= ~(RBD_FEATURE_EXCLUSIVE_LOCK |
RBD_FEATURE_OBJECT_MAP |
features &= ~(RBD_FEATURE_OBJECT_MAP |
RBD_FEATURE_FAST_DIFF |
RBD_FEATURE_DEEP_FLATTEN |
RBD_FEATURE_JOURNALING);