From patchwork Wed Jan 2 04:03:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zorro Lang X-Patchwork-Id: 10746067 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E0530746 for ; Wed, 2 Jan 2019 04:03:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF0072884F for ; Wed, 2 Jan 2019 04:03:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C07EB289FF; Wed, 2 Jan 2019 04:03:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6FA0E2884F for ; Wed, 2 Jan 2019 04:03:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727993AbfABEDe (ORCPT ); Tue, 1 Jan 2019 23:03:34 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37396 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726250AbfABEDe (ORCPT ); Tue, 1 Jan 2019 23:03:34 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0C01F5275A for ; Wed, 2 Jan 2019 04:03:34 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.66.13.9]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3430C60123 for ; Wed, 2 Jan 2019 04:03:32 +0000 (UTC) From: Zorro Lang To: fstests@vger.kernel.org Subject: [PATCH 2/2] xfs/139-140: skip testing on large scratch dev Date: Wed, 2 Jan 2019 12:03:19 +0800 Message-Id: <20190102040319.7668-2-zlang@redhat.com> In-Reply-To: <20190102040319.7668-1-zlang@redhat.com> References: <20190102040319.7668-1-zlang@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Wed, 02 Jan 2019 04:03:34 +0000 (UTC) Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP x/139 and x/140 makes XFS with very small agsize. That agsize is too small for a large fs. And it's not necessary to test on large fs, so skip it directly if scratch dev is large dev. Signed-off-by: Zorro Lang --- tests/xfs/139 | 3 +++ tests/xfs/140 | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tests/xfs/139 b/tests/xfs/139 index 3a20ce50..4c498ff2 100755 --- a/tests/xfs/139 +++ b/tests/xfs/139 @@ -29,6 +29,9 @@ _cleanup() # real QA test starts here _supported_os Linux +# Below agsize (16384 * $blksz) is too small for a large fs, and it's not +# necessary to test on large fs +_require_no_large_scratch_dev _require_scratch_reflink _require_cp_reflink diff --git a/tests/xfs/140 b/tests/xfs/140 index 7385dc42..863b1e6f 100755 --- a/tests/xfs/140 +++ b/tests/xfs/140 @@ -29,6 +29,9 @@ _cleanup() # real QA test starts here _supported_os Linux +# Below agsize is too small for a large fs, and it's not necessary to test on +# large fs +_require_no_large_scratch_dev _require_scratch_reflink _require_cp_reflink