]> git.proxmox.com Git - ceph.git/blob - ceph/qa/workunits/rbd/smalliobench.sh
bump version to 12.2.12-pve1
[ceph.git] / ceph / qa / workunits / rbd / smalliobench.sh
1 #!/bin/sh
2
3 NUM="$1"
4 GAP="$2"
5 DUR="$3"
6
7 [ -z "$NUM" ] && NUM=30
8 [ -z "$GAP" ] && GAP=5
9 [ -z "$DUR" ] && DUR=30
10
11 for n in `seq 1 $NUM`; do
12 echo "Starting $n of $NUM ..."
13 ceph_smalliobenchrbd --pool rbd --duration $DUR --disable-detailed-ops 1 &
14 sleep $GAP
15 done
16 echo "Waiting..."
17 wait
18 echo "OK"