From b838ed11bb920d9b4876c913ef4acc3ee2305b9f Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Fri, 18 Sep 2015 15:34:40 -0400 Subject: [PATCH] qa/workunits/rbd: fixed incorrect stripe settings The rbd merge-diff tool does not support fancy striped image exports. Corrected the test to reflect this fact. Signed-off-by: Jason Dillaman --- qa/workunits/rbd/merge_diff.sh | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/qa/workunits/rbd/merge_diff.sh b/qa/workunits/rbd/merge_diff.sh index 7fbcd2f9c86ec..22d1207b7fac1 100755 --- a/qa/workunits/rbd/merge_diff.sh +++ b/qa/workunits/rbd/merge_diff.sh @@ -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 -- 2.39.5