From patchwork Tue Nov 24 10:11:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhaolei X-Patchwork-Id: 7689261 Return-Path: X-Original-To: patchwork-fstests@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DB1A0BF90C for ; Tue, 24 Nov 2015 10:14:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D19C22081E for ; Tue, 24 Nov 2015 10:14:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F29B320825 for ; Tue, 24 Nov 2015 10:14:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752976AbbKXKOY (ORCPT ); Tue, 24 Nov 2015 05:14:24 -0500 Received: from cn.fujitsu.com ([59.151.112.132]:8209 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752744AbbKXKOW (ORCPT ); Tue, 24 Nov 2015 05:14:22 -0500 X-IronPort-AV: E=Sophos;i="5.20,242,1444665600"; d="scan'208";a="787923" Received: from bogon (HELO cn.fujitsu.com) ([10.167.33.6]) by heian.cn.fujitsu.com with ESMTP; 24 Nov 2015 18:14:05 +0800 Received: from G08CNEXCHPEKD01.g08.fujitsu.local (unknown [10.167.33.80]) by cn.fujitsu.com (Postfix) with ESMTP id 9B3D2408D476; Tue, 24 Nov 2015 18:12:58 +0800 (CST) Received: from localhost.localdomain (10.167.226.114) by G08CNEXCHPEKD01.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server id 14.3.181.6; Tue, 24 Nov 2015 18:13:43 +0800 From: Zhaolei To: CC: , Zhao Lei Subject: [PATCH] fstests: speedup generic/027 for new version of btrfs Date: Tue, 24 Nov 2015 18:11:54 +0800 Message-ID: <604c80a86a7e58c9408abad851481be10b254f0c.1448359685.git.zhaolei@cn.fujitsu.com> X-Mailer: git-send-email 1.8.5.1 MIME-Version: 1.0 X-yoursite-MailScanner-Information: Please contact the ISP for more information X-yoursite-MailScanner-ID: 9B3D2408D476.A7BE2 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: zhaolei@cn.fujitsu.com X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Zhao Lei New version of btrfs create non-mixed blockgroups in all case. For generic/027, the filesystem in test is convert from mixed-blockgroup to non-mixed blockgroup. And test time is changed from 400s -> 2700s in my node. To test btrfs with all mountoptions, this testitem need about 7.5H. (actually, some mountoption as compress needs more time) This patch reduce test loop count, to make testtime about equal with old version. Signed-off-by: Zhao Lei --- tests/generic/027 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/generic/027 b/tests/generic/027 index d2e59d6..42f0685 100755 --- a/tests/generic/027 +++ b/tests/generic/027 @@ -78,7 +78,7 @@ rm -f $SCRATCH_MNT/testfile loop=100 # btrfs takes much longer time, reduce the loop count if [ "$FSTYP" == "btrfs" ]; then - loop=10 + loop=2 fi dir=$SCRATCH_MNT/testdir