2011-08-02 23:24:19 +00:00
|
|
|
#!/bin/sh -x
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2022-11-23 05:24:38 +00:00
|
|
|
git clone https://git.ceph.com/xfstests-dev.git
|
|
|
|
cd xfstests-dev
|
2024-05-06 01:57:39 +00:00
|
|
|
# This sha1 is the latest master head and works well for our tests.
|
|
|
|
git checkout 0e5c12dfd008efc2848c98108c9237487e91ef35
|
2020-01-23 23:37:56 +00:00
|
|
|
make -j4
|
2016-01-13 21:17:53 +00:00
|
|
|
cd ..
|
2022-11-23 05:24:38 +00:00
|
|
|
cp xfstests-dev/ltp/fsx .
|
2011-08-02 23:24:19 +00:00
|
|
|
|
2014-06-30 14:05:04 +00:00
|
|
|
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
|