From patchwork Thu May 4 09:52:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eryu Guan X-Patchwork-Id: 9711329 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2141C60362 for ; Thu, 4 May 2017 09:52:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 16970286B3 for ; Thu, 4 May 2017 09:52:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0A9E628602; Thu, 4 May 2017 09:52:55 +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=-6.9 required=2.0 tests=BAYES_00,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 9196B2869D for ; Thu, 4 May 2017 09:52:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751890AbdEDJwy (ORCPT ); Thu, 4 May 2017 05:52:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52530 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751742AbdEDJwx (ORCPT ); Thu, 4 May 2017 05:52:53 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7A8937F7A5 for ; Thu, 4 May 2017 09:52:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 7A8937F7A5 Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=eguan@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 7A8937F7A5 Received: from localhost (unknown [10.66.12.173]) by smtp.corp.redhat.com (Postfix) with ESMTP id 02DD51715B; Thu, 4 May 2017 09:52:52 +0000 (UTC) From: Eryu Guan To: fstests@vger.kernel.org Cc: Eryu Guan Subject: [PATCH 2/2] tasks-upstream: add xfs rmapbt and reflink tests to xfs regression and ltp tests Date: Thu, 4 May 2017 17:52:39 +0800 Message-Id: <20170504095239.15901-2-eguan@redhat.com> In-Reply-To: <20170504095239.15901-1-eguan@redhat.com> References: <20170504095239.15901-1-eguan@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Thu, 04 May 2017 09:52:53 +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 Signed-off-by: Eryu Guan --- tasks-upstream/function-ltp-aiodio.task | 16 ++++++++++++++++ tasks-upstream/function-ltp.task | 26 ++++++++++++++++++++++++-- tasks-upstream/regression-xfs.task | 18 ++++++++++++++++++ 3 files changed, 58 insertions(+), 2 deletions(-) diff --git a/tasks-upstream/function-ltp-aiodio.task b/tasks-upstream/function-ltp-aiodio.task index 6bbadf8..644b8e8 100644 --- a/tasks-upstream/function-ltp-aiodio.task +++ b/tasks-upstream/function-ltp-aiodio.task @@ -41,6 +41,22 @@ param=MKFS_OPTS=-m crc=1 distro=-el6 arch=all +[xfs-rmap] +desc=ltp-aiodio tests on xfs with rmapbt enabled +tag=tier2 xfs +param=FSTYP=xfs +param=MKFS_OPTS=-m rmap=1 +distro=-el6 +arch=all + +[xfs-reflink] +desc=ltp-aiodio tests on xfs with reflink enabled +tag=tier2 xfs +param=FSTYP=xfs +param=MKFS_OPTS=-m reflink=1 +distro=-el6 +arch=all + [xfs-sparse] desc=ltp-aiodio tests on xfs with crc and sparse enabled tag=tier3 xfs diff --git a/tasks-upstream/function-ltp.task b/tasks-upstream/function-ltp.task index 9a92801..e477860 100644 --- a/tasks-upstream/function-ltp.task +++ b/tasks-upstream/function-ltp.task @@ -48,6 +48,30 @@ distro=-el6 partition=fs="xfs" name="/mnt/ltp" size="5" type="part" arch=all +[xfs-rmap] +desc=ltp tests on xfs with rmapbt enabled +tag=tier2 xfs +param=FSTYP=xfs +# TEST_MNT should not be /mnt/testarea, unable to umount /mnt/testarea since beaker +# is using it. So let's grab the test device mounted on /mnt/ltp then mount it on +# /mnt/testarea +param=TEST_MNT=/mnt/ltp +param=MKFS_OPTS=-m rmap=1 +partition=fs="xfs" name="/mnt/ltp" size="5" type="part" +arch=all + +[xfs-reflink] +desc=ltp tests on xfs with reflink enabled +tag=tier2 xfs +param=FSTYP=xfs +# TEST_MNT should not be /mnt/testarea, unable to umount /mnt/testarea since beaker +# is using it. So let's grab the test device mounted on /mnt/ltp then mount it on +# /mnt/testarea +param=TEST_MNT=/mnt/ltp +param=MKFS_OPTS=-m reflink=1 +partition=fs="xfs" name="/mnt/ltp" size="5" type="part" +arch=all + [xfs-sparse] desc=ltp tests on xfs with crc and sparse enabled tag=tier3 xfs @@ -57,8 +81,6 @@ param=FSTYP=xfs # /mnt/testarea param=TEST_MNT=/mnt/ltp param=MKFS_OPTS=-m crc=1 -i sparse=1 -# only RHEL7 supports v5 xfs -distro=-el6 partition=fs="xfs" name="/mnt/ltp" size="5" type="part" arch=all diff --git a/tasks-upstream/regression-xfs.task b/tasks-upstream/regression-xfs.task index b017177..32758c2 100644 --- a/tasks-upstream/regression-xfs.task +++ b/tasks-upstream/regression-xfs.task @@ -18,6 +18,24 @@ task=/kernel/filesystems/xfs/regression arch=all param=MKFS_OPTS=-m crc=1 +[xfs-regression-rmap] +type=regression +schedule=alone +tag=tier2 xfs +desc=xfs regression tests with rmap enabled +task=/kernel/filesystems/xfs/regression +arch=all +param=MKFS_OPTS=-m rmap=1 + +[xfs-regression-reflink] +type=regression +schedule=alone +tag=tier2 xfs +desc=xfs regression tests with reflink enabled +task=/kernel/filesystems/xfs/regression +arch=all +param=MKFS_OPTS=-m reflink=1 + [xfs-regression-sparse] type=regression schedule=alone