]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rbd: fixed incorrect stripe settings
authorJason Dillaman <dillaman@redhat.com>
Fri, 18 Sep 2015 19:34:40 +0000 (15:34 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 5 Nov 2015 21:12:42 +0000 (16:12 -0500)
The rbd merge-diff tool does not support fancy striped
image exports.  Corrected the test to reflect this fact.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
qa/workunits/rbd/merge_diff.sh

index 7fbcd2f9c86ecb601d82c2c3e7d9c40368de0681..22d1207b7fac1823724f61c3fe4c425f55c57668 100755 (executable)
@@ -30,7 +30,7 @@ function rebuild()
   clear_all
   echo Starting test $testno
   ((testno++))
-  rbd create $gen --size 100 --order $1 --stripe_unit $2 --stripe_count $3 --image-format $4
+  rbd create $gen --size 100 --order $1 --stripe-unit $2 --stripe-count $3 --image-format $4
   rbd create $out --size 1 --order 19
   mkdir -p mnt diffs
   # lttng has atexit handlers that need to be fork/clone aware
@@ -241,14 +241,15 @@ merge_diff null r2 r3
 merge_diff null r3 r4
 check null r4
 
-rebuild 22 65536 8 2
-write 0 32
-snap r1
-write 16 32
-snap r2
-export_diff null r1
-export_diff r1 r2
-expect_false merge_diff null r1 r2
+# merge diff doesn't yet support fancy striping
+# rebuild 22 65536 8 2
+# write 0 32
+# snap r1
+# write 16 32
+# snap r2
+# export_diff null r1
+# export_diff r1 r2
+# expect_false merge_diff null r1 r2
 
 rebuild 22 4194304 1 2
 write 0 1