summaryrefslogtreecommitdiffstats
path: root/src/ceph/qa/workunits/suites/fsx.sh
blob: 8a34806c84b7ed965b21650ba2e10218cb10becc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -x

set -e

git clone git://git.ceph.com/xfstests.git
cd xfstests
git checkout b7fd3f05d6a7a320d13ff507eda2e5b183cae180
make
cd ..
cp xfstests/ltp/fsx .

OPTIONS="-z"  # don't use zero range calls; not supported by cephfs

./fsx $OPTIONS  1MB -N 50000 -p 10000 -l 1048576
./fsx $OPTIONS  10MB -N 50000 -p 10000 -l 10485760
./fsx $OPTIONS 100MB -N 50000 -p 10000 -l 104857600