From: Sage Weil Date: Thu, 28 Mar 2013 21:13:46 +0000 (-0700) Subject: qa: rbd/diff_continuous.sh: use non-standard striping X-Git-Tag: v0.62~118^2~33 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=44e295a3cc90a61084053a822f7e6b04d30dbb00;p=ceph.git 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 --- diff --git a/qa/workunits/rbd/diff_continuous.sh b/qa/workunits/rbd/diff_continuous.sh index 6b2142d35a4..41e44125fde 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