From 44e295a3cc90a61084053a822f7e6b04d30dbb00 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 28 Mar 2013 14:13:46 -0700 Subject: [PATCH] qa: rbd/diff_continuous.sh: use non-standard striping Exercise the striping arithmetic by using non-standard striping that varies between the parent and child. Signed-off-by: Sage Weil --- qa/workunits/rbd/diff_continuous.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/qa/workunits/rbd/diff_continuous.sh b/qa/workunits/rbd/diff_continuous.sh index 6b2142d35a4a8..41e44125fdebf 100755 --- a/qa/workunits/rbd/diff_continuous.sh +++ b/qa/workunits/rbd/diff_continuous.sh @@ -23,13 +23,12 @@ function cleanup() { trap cleanup EXIT # start from a clone -rbd create $parent --size $size --image-format 2 +rbd create $parent --size $size --image-format 2 --stripe-count 8 --stripe-unit 65536 rbd bench-write $parent --io-size $iosize --io-threads $iothreads --io-total $iototal --io-pattern rand rbd snap create $parent --snap parent rbd snap protect $parent --snap parent -rbd clone $parent@parent $src -#rbd create $src --size $size --format 2 -rbd create $dst --size $size --image-format 2 +rbd clone $parent@parent $src --stripe-count 4 --stripe-unit 262144 +rbd create $dst --size $size --image-format 2 --order 19 # mirror for a while for s in `seq 1 $max`; do -- 2.39.5