From patchwork Fri May 19 06:51:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amir Goldstein X-Patchwork-Id: 9735905 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 6EC8E601C2 for ; Fri, 19 May 2017 06:51:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 73DC32889B for ; Fri, 19 May 2017 06:51:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 689362889F; Fri, 19 May 2017 06:51:01 +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.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID 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 C82E02889E for ; Fri, 19 May 2017 06:51:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751499AbdESGu7 (ORCPT ); Fri, 19 May 2017 02:50:59 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:36798 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750952AbdESGu4 (ORCPT ); Fri, 19 May 2017 02:50:56 -0400 Received: by mail-wm0-f67.google.com with SMTP id k15so14837922wmh.3 for ; Thu, 18 May 2017 23:50:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=yi0hSQlLXRYV4FgJvBfmCKcIzItwKOd/9iU31JzCpKg=; b=JiE373ZoRp88WWD9DrjFk2nlwS8mJc50tmBSIq6H1oc/iN/3DRbTQenRVUqv9pvoLm uNHvjhln1IKuiRz7HDTe6mwm430KxAItFrGSj4Q4vPFZ3gwrRi8QdLcHacPYdNK4u6gI 6LLsbzACOt+gRjSRcyGgZmI/AV0Mo/UE6jA3LL76MGF28lRp3s2CFvtm/peJcBb7hcSf PXp8Oc5+Wif+QtZ45pjVX8SssclhLrA0saHcQ3mGlPTiMC1Ao20g23h/ijoKjrZq6448 uH/E1pQTZSRX38Av64jqRRQAnySmMPJaL43gPiGBA/BVJk/SYaf/rWs3UX++D3STsgLM gokQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=yi0hSQlLXRYV4FgJvBfmCKcIzItwKOd/9iU31JzCpKg=; b=CAn5WXfGvoGaJPM8v4QOK2ZavUfgfxbWwb1xoieqLlCq51DfBcCrkcxxRzuZ7YLrRO K4tqyJVkTEDXQQ7HrvdXr3a+uXHS2ibCvSmJ7kTDAquqK2r8d4Zxc7nYIR6z22H1ITPr jGke53ydjZf5/oF98QaeSAdTjAZMfX51cGaDc0Em8YYplAzeJE2E3lVLDfmFVeUHv1X3 vS/53LKAgBwslPwvDQxJ161L7lLOGii4CXfQ1meOWeUQAlQVuU+fdrl0PZG3LSfY4l5S m31IvAxWU7BpJs77NIZiXPJzEyomQCxcIXypEkr7guzEL2ISXCecZvyA+NkEpGFBRQE+ 2kUg== X-Gm-Message-State: AODbwcAQ6i6tKpmBAwrBbDWIEOMfIL1k8GXn+FqcIiL4dvOclNJhADke WpnF6/RLmaU5jQyx X-Received: by 10.28.71.201 with SMTP id m70mr17604346wmi.89.1495176649838; Thu, 18 May 2017 23:50:49 -0700 (PDT) Received: from amir-VirtualBox.lan (bzq-79-179-137-123.red.bezeqint.net. [79.179.137.123]) by smtp.gmail.com with ESMTPSA id m201sm11708656wmd.15.2017.05.18.23.50.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 May 2017 23:50:49 -0700 (PDT) From: Amir Goldstein To: Theodore Ts'o Cc: Eryu Guan , Eric Biggers , fstests@vger.kernel.org Subject: [PATCH] test-appliance: use new overlay xfstest config Date: Fri, 19 May 2017 09:51:03 +0300 Message-Id: <1495176663-2226-1-git-send-email-amir73il@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP requires xfstests commit 33e4199 ("overlay: use OVL_BASE_SCRATCH_MNT instead of SCRATCH_DEV") Signed-off-by: Amir Goldstein --- kvm-xfstests/test-appliance/files/root/fs/overlay/cfg/large | 8 ++++---- kvm-xfstests/test-appliance/files/root/fs/overlay/cfg/small | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) Ted, Forgot to post this one in addition to the github PR: https://github.com/tytso/xfstests-bld/pull/4 Using the new overlay xfstest config is helping catch reference leak bugs all the time, because it mount cycle the underlying base fs on every test and within tests that do cycle_mount. Please pull. Thanks, Amir. diff --git a/kvm-xfstests/test-appliance/files/root/fs/overlay/cfg/large b/kvm-xfstests/test-appliance/files/root/fs/overlay/cfg/large index ec1adf0..ab9a2bb 100644 --- a/kvm-xfstests/test-appliance/files/root/fs/overlay/cfg/large +++ b/kvm-xfstests/test-appliance/files/root/fs/overlay/cfg/large @@ -9,10 +9,10 @@ function format_filesystem() } SIZE=large -export TEST_DEV=$LG_TST_MNT/ovl -export TEST_DIR=$LG_TST_MNT/testarea -export SCRATCH_DEV=$LG_SCR_MNT/ovl -export SCRATCH_MNT=$LG_SCR_MNT/testarea +export TEST_DEV=$LG_TST_DEV +export TEST_DIR=$LG_TST_MNT +export SCRATCH_DEV=$LG_SCR_DEV +export SCRATCH_MNT=$LG_SCR_MNT export EXT_MOUNT_OPTIONS="" TESTNAME="overlayfs large" mkdir -p /test/tmp /test/scratch diff --git a/kvm-xfstests/test-appliance/files/root/fs/overlay/cfg/small b/kvm-xfstests/test-appliance/files/root/fs/overlay/cfg/small index a28a191..552e302 100644 --- a/kvm-xfstests/test-appliance/files/root/fs/overlay/cfg/small +++ b/kvm-xfstests/test-appliance/files/root/fs/overlay/cfg/small @@ -9,10 +9,10 @@ function format_filesystem() } SIZE=small -export TEST_DEV=$SM_TST_MNT/ovl -export TEST_DIR=$SM_TST_MNT/testarea -export SCRATCH_DEV=$SM_SCR_MNT/ovl -export SCRATCH_MNT=$SM_SCR_MNT/testarea +export TEST_DEV=$SM_TST_DEV +export TEST_DIR=$SM_TST_MNT +export SCRATCH_DEV=$SM_SCR_DEV +export SCRATCH_MNT=$SM_SCR_MNT export EXT_MOUNT_OPTIONS="" TESTNAME="overlayfs small" mkdir -p /test/tmp /test/scratch