This patch change the fsx.sh to pull better fsx.c from xfstests site
to support hole punching test.

Signed-off-by: Yunchuan Wen <yunchuan...@ubuntukylin.com>
Signed-off-by: Li Wang <liw...@ubuntukylin.com>
---
 qa/workunits/suites/fsx.sh |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/qa/workunits/suites/fsx.sh b/qa/workunits/suites/fsx.sh
index 32d5b63..c48164c 100755
--- a/qa/workunits/suites/fsx.sh
+++ b/qa/workunits/suites/fsx.sh
@@ -2,8 +2,10 @@
 
 set -e
 
-wget http://ceph.com/qa/fsx.c
-gcc fsx.c -o fsx
+apt-get install git libacl1-dev xfslibs-dev libattr1-dev -y
+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
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to