diff options
author | Sage Weil <sage@inktank.com> | 2013-03-28 14:13:46 -0700 |
---|---|---|
committer | Josh Durgin <josh.durgin@inktank.com> | 2013-03-31 23:32:41 -0700 |
commit | 44e295a3cc90a61084053a822f7e6b04d30dbb00 (patch) | |
tree | a66a243fa88be150f545019259bb8309eefbbe70 /qa | |
parent | 39689fea49c3d0fd9dfcd7f6abc865f7d4a9697d (diff) | |
download | ceph-44e295a3cc90a61084053a822f7e6b04d30dbb00.tar.gz |
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 <sage@inktank.com>
Diffstat (limited to 'qa')
-rwxr-xr-x | qa/workunits/rbd/diff_continuous.sh | 7 |
1 files changed, 3 insertions, 4 deletions
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 |