ceph/qa/workunits/suites/fsx.sh

17 lines
385 B
Bash
Executable File

#!/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