]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: disable fast-diff feature for the krbd fsx test 4665/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 13 May 2015 12:08:46 +0000 (08:08 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 13 May 2015 13:52:19 +0000 (09:52 -0400)
The kernel does not yet support fast-diff.

Fixes: #11551
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/librbd/fsx.cc

index 7fe7495dd893a4964d5f309240453fad71dd4244..250dbb5e7db11d86814728e98c112018366c6376 100644 (file)
@@ -482,7 +482,8 @@ __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);
+                             RBD_FEATURE_OBJECT_MAP     |
+                              RBD_FEATURE_FAST_DIFF);
        }
        ret = rbd_clone2(ioctx, ctx->name, src_snapname, ioctx,
                         dst_imagename, features, order,