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>
This commit is contained in:
Li Wang 2013-08-14 11:36:03 +08:00 committed by Sage Weil
parent 086abe441e
commit 24ec3201ed

View File

@ -2,8 +2,9 @@
set -e
wget http://ceph.com/qa/fsx.c
gcc fsx.c -o fsx
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