Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / qa / workunits / suites / fsx.sh
1 #!/bin/sh -x
2
3 set -e
4
5 git clone git://git.ceph.com/xfstests.git
6 cd xfstests
7 git checkout b7fd3f05d6a7a320d13ff507eda2e5b183cae180
8 make
9 cd ..
10 cp xfstests/ltp/fsx .
11
12 OPTIONS="-z"  # don't use zero range calls; not supported by cephfs
13
14 ./fsx $OPTIONS  1MB -N 50000 -p 10000 -l 1048576
15 ./fsx $OPTIONS  10MB -N 50000 -p 10000 -l 10485760
16 ./fsx $OPTIONS 100MB -N 50000 -p 10000 -l 104857600