summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Wang <liwang@ubuntukylin.com>2013-08-14 11:36:03 +0800
committerSage Weil <sage@inktank.com>2013-08-14 22:50:56 -0700
commit24ec3201ed7a99b6742d35efd4cb728e2f68f69a (patch)
tree63c606362b03df3f08750b108db26588f1920724
parent086abe441e3bac03688dee3dffd07be87ef2802c (diff)
downloadceph-24ec3201ed7a99b6742d35efd4cb728e2f68f69a.tar.gz
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>
-rwxr-xr-xqa/workunits/suites/fsx.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/qa/workunits/suites/fsx.sh b/qa/workunits/suites/fsx.sh
index 32d5b63c239..3a21194e0cd 100755
--- a/qa/workunits/suites/fsx.sh
+++ b/qa/workunits/suites/fsx.sh
@@ -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