ceph/qa/workunits/suites/fsx.sh
Li Wang 24ec3201ed Ceph-qa: change the fsx.sh to support hole punching test
This patch change the fsx.sh to pull better fsx.c from xfstests site
to support hole punching test.

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Signed-off-by: Li Wang <liwang@ubuntukylin.com>
2013-08-14 22:50:56 -07:00

12 lines
239 B
Bash
Executable File

#!/bin/sh -x
set -e
git clone git://ceph.newdream.net/git/xfstests.git
make -C xfstests
cp xfstests/ltp/fsx .
./fsx 1MB -N 50000 -p 10000 -l 1048576
./fsx 10MB -N 50000 -p 10000 -l 10485760
./fsx 100MB -N 50000 -p 10000 -l 104857600