From patchwork Sun Jul 21 15:45:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Wang X-Patchwork-Id: 2830929 Return-Path: X-Original-To: patchwork-ceph-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C6595C0319 for ; Sun, 21 Jul 2013 15:45:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E9D402013C for ; Sun, 21 Jul 2013 15:45:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 495112011D for ; Sun, 21 Jul 2013 15:45:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755824Ab3GUPpR (ORCPT ); Sun, 21 Jul 2013 11:45:17 -0400 Received: from m59-178.qiye.163.com ([123.58.178.59]:48089 "EHLO m59-178.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755756Ab3GUPpQ (ORCPT ); Sun, 21 Jul 2013 11:45:16 -0400 Received: from localhost.localdomain (unknown [218.76.1.26]) by m59-178.qiye.163.com (HMail) with ESMTPA id E6BA71480CA9; Sun, 21 Jul 2013 23:45:13 +0800 (CST) From: Li Wang To: Cc: Sage Weil , Li Wang , Yunchuan Wen Subject: [PATCH] Ceph-qa: change the fsx.sh to support hole punching test Date: Sun, 21 Jul 2013 23:45:08 +0800 Message-Id: <1374421509-3988-1-git-send-email-liwang@ubuntukylin.com> X-Mailer: git-send-email 1.7.9.5 X-HM-Spam-Status: e1koWUFPN1dZCBgUCR5ZQUNVQ0lCQkJCQklITEtNS05OV1kJDhceCFlBWSgrPSQrOigoJDI1JDM# Oj8#KUFLVUtANiMkIj4oJDI1JDM#Oj8#KUFLVUtAKy8pJDU0JDI1JDM#Oj8#KUFJVUtAODQuNS8p IiQ4NUFLVUtAKT48MjQ1JDooMjpBS1VLQCspNC0yNTg#JDMuNTo1QUtVS0A*IjU6NjI4JDIrJDU0 JDI1JDM#Oj8#KUFLVUtANi43LzIkKTgrLyQ*Mj09Pik#NS8kMjUkMz46Pz4pQUlVS0AyKyQvND86 IiQ4NS8kSyRKS0tBS1VLQDIrJEokMzQuKSQ4NS8kSyRKS0tBS1VLQDIrJEokNjI1Li8#JDg1LyRL JEpLQUtVS0AyKyRISyQ2MjUuLz4kODUvJEskTktBS1VLQDIrJE4kNjI1Li8#JDg1LyRLJEpLQUtV S0A*Oi8#JDI1PTQkMjUkODQ1Lz41LyQ9NDQvPilBSFVLQCguOSQ#QUpVTk5APTUkKC45JD41LDQp PygkMzcxJEpLS0lLSkFLVUlDWQY+ X-HM-Sender-Digest: e1kSHx4VD1lBWUc6MQg6Cjo4LDo4EDorKjhIOj4qOkMwCjFVSlVKSExPT0lKTkpPSU5CVTMWGhIX VRcSDBoVHDsOGQ4VDw4QAhcSFVUYFBZFWVdZDB4ZWUEdGhcIHgY+ Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch change the fsx.sh to pull better fsx.c from xfstests site to support hole punching test. Signed-off-by: Yunchuan Wen Signed-off-by: Li Wang --- 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