From patchwork Fri Jun 14 06:17:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Gomez X-Patchwork-Id: 13697892 Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8272C143741 for ; Fri, 14 Jun 2024 06:17:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.118.77.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718345858; cv=none; b=cvxDFW6U1DIJJyhLu/AAfI1x4p7MGpmjFt6e3LaF8J4KoYmpl6U2Z3Nb2dYlYtwK9eVQRq2MlVu12C4buU03+BBgLQdBJpTs8Fs43XXLATo753a6Qp5Zan+SWiBURJmwF3tepxDl4mbAq05/NRGDA7t+3N6RcsuJDpBNkbJlFLg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718345858; c=relaxed/simple; bh=jya+gA1rQLF/gqQwdGzF+SvRaSTrIBlFvevrrRHR96g=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:Content-Type: MIME-Version:References; b=btI0XI9WPQCBwWv837GHAZbCDR75ddCfbn55fblzYhaFgC5JeTDoJeLv7cwx7mYhx4ZLiZ1W+6+S8ONTXZL8TQcsImIEBAMSbv8BUX24wCALYBOVDUmf90mFc6ERZJE1KuTPPHx3KWdhclbhft7eMTMAN17kQn1AOweJNXUnGyU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=lsmyT9xV; arc=none smtp.client-ip=210.118.77.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="lsmyT9xV" Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20240614061727euoutp02ed5d926f49d88ef521b2eb24294d129d~YynGjZLIZ0372003720euoutp02O for ; Fri, 14 Jun 2024 06:17:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20240614061727euoutp02ed5d926f49d88ef521b2eb24294d129d~YynGjZLIZ0372003720euoutp02O DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1718345847; bh=M7YxrhyGjN7gsaXxz4E3/I2qDVCePB1Ps03ONrmG6MQ=; h=From:To:CC:Subject:Date:In-Reply-To:References:From; b=lsmyT9xVW8A2VN0GNTW8J/Aobaidwto1N9X3stwoH/5HheuOJ9aNWH9eHWVagT8jC Bsn07UZRjdmQphE2vZWomve5VjP1MdQzAVDOqKl6Sugx+4U2ZiJXWf9YCe9IpxwvN6 fZKMRfHhwBg4GWZ9SAsGnkIYeIWQbrI1eFpiQYNw= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20240614061727eucas1p1385e02fd2a649c66fdde87843f4972a7~YynGV334k0342203422eucas1p1N; Fri, 14 Jun 2024 06:17:27 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id EC.B9.09624.670EB666; Fri, 14 Jun 2024 07:17:26 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20240614061726eucas1p1adfe39fea57e14eeab2fe58a08392fd4~YynFxTEOS1173811738eucas1p12; Fri, 14 Jun 2024 06:17:26 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20240614061726eusmtrp1a791f5640dc46c4766e474288d37d2f4~YynFwng301586915869eusmtrp1k; Fri, 14 Jun 2024 06:17:26 +0000 (GMT) X-AuditID: cbfec7f2-c11ff70000002598-51-666be0761597 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 7C.C5.09010.670EB666; Fri, 14 Jun 2024 07:17:26 +0100 (BST) Received: from CAMSVWEXC02.scsc.local (unknown [106.1.227.72]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240614061726eusmtip15c6e89132e906d57e5400ed4c5cade6d~YynFmRbo91662616626eusmtip1b; Fri, 14 Jun 2024 06:17:26 +0000 (GMT) Received: from CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) by CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 14 Jun 2024 07:17:25 +0100 Received: from CAMSVWEXC02.scsc.local ([::1]) by CAMSVWEXC02.scsc.local ([fe80::3c08:6c51:fa0a:6384%13]) with mapi id 15.00.1497.012; Fri, 14 Jun 2024 07:17:25 +0100 From: Daniel Gomez To: "fstests@vger.kernel.org" CC: Pankaj Raghav , "mcgrof@kernel.org" , "hughd@google.com" Subject: [PATCH 1/5] generic/449: not run on tmpfs earlier Thread-Topic: [PATCH 1/5] generic/449: not run on tmpfs earlier Thread-Index: AQHaviKFjjC3cvEcmEaWr+YftWr41g== Date: Fri, 14 Jun 2024 06:17:24 +0000 Message-ID: <20240614061722.1080-2-da.gomez@samsung.com> In-Reply-To: <20240614061722.1080-1-da.gomez@samsung.com> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted Precedence: bulk X-Mailing-List: fstests@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHIsWRmVeSWpSXmKPExsWy7djP87plD7LTDDZOsbA43bKX3eLppz4W ixsTnjI6MHss2FTqsWlVJ5vH501yAcxRXDYpqTmZZalF+nYJXBl3jpcU/GGrePt2PlMD4x3W LkZODgkBE4neN12MILaQwApGia2XlCHsL4wSO5+ldTFyAdmfGSVWnbjC1sXIAdaw4oUeRHw5 o8Tn5s+scEU3ut6xQThnGCX2Hr8A5axklDjwZALYDjYBTYl9Jzexg9giAuYSszsms4HYzAJV Eufat7KCrBAWsJJ4uDYFxBQRsJe4NpcPolpP4tLce2BTWARUJXZcnAn2Aa+AhcTzlqNgEzkF LCXW7WoDizMKyEo8WvmLHWK6uMStJ/OZID4WlFg0ew8zhC0m8W/XQzYIW0fi7PUnjBC2gcTW pftYIGxFiY5jN6Gu1JO4MXUKlK0tsWzha2aIGwQlTs58wgLyroTAZE6J5d+fQA11kTiyphNq sbDEq+Nb2CFsGYnTk3tYJjBqz0Jy3ywkO2Yh2TELyY4FjCyrGMVTS4tz01OLDfNSy/WKE3OL S/PS9ZLzczcxApPI6X/HP+1gnPvqo94hRiYOxkOMEhzMSiK8sxZmpQnxpiRWVqUW5ccXleak Fh9ilOZgURLnVU2RTxUSSE8sSc1OTS1ILYLJMnFwSjUwaTwxWV+ufUNSJuSV7e03z2Z9DnRY 4qj1lS2Ee6sXy+TFNwymyDEtU7radTdKomdOjdV9q8UGW1i+GAk73JnZL/+zdHLY9/elms8v Ha7KrJnZsdDj7I9GH9dforLnIs7P/hRpJWmz/OI8lhoj1ZVXV0o2nv0Tflhbje/75axKnmfZ e9fkfavd/kDZs1qMxW/xARfnhRoP+6WvFT3nV7/v8qKF79De1psfe48vaxb5fncJu9n1N38t yvgnlfvZf9u7d66lrpDNwcDcT+dO7hfQ1nEyuD/zxUc2Z17xFZHqXQU1nrM6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rscO/5wq3WP3u+PVDumjq5ny9c dGs/R5Kej/GBkqnehtKxvLb+i1o3Gwk+8Pjuz7176YmyZIlft1NNXjLPk27v193popehxFKc kWioxVxUnAgAW9zIG40DAAA= X-CMS-MailID: 20240614061726eucas1p1adfe39fea57e14eeab2fe58a08392fd4 X-Msg-Generator: CA X-RootMTR: 20240614061726eucas1p1adfe39fea57e14eeab2fe58a08392fd4 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240614061726eucas1p1adfe39fea57e14eeab2fe58a08392fd4 References: <20240614061722.1080-1-da.gomez@samsung.com> From: Hugh Dickins Do not waste 14 minutes to discover that tmpfs succeeds in setting acls despite running out of space for user attrs. Signed-off-by: Hugh Dickins --- tests/generic/449 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/generic/449 b/tests/generic/449 index 2b77a6a49..ffbad12e9 100755 --- a/tests/generic/449 +++ b/tests/generic/449 @@ -23,6 +23,12 @@ _require_scratch _require_test _require_acls _require_attrs trusted +_require_block_device $SCRATCH_DEV # hack to exclude tmpfs for now + +if [ "$FSTYP" = "tmpfs" ]; then + # Do not waste 14 minutes to discover this: + _notrun "$FSTYP succeeds in setting acls despite running out of space for user attrs" +fi _scratch_mkfs_sized $((256 * 1024 * 1024)) >> $seqres.full 2>&1 _scratch_mount || _fail "mount failed" From patchwork Fri Jun 14 06:17:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Gomez X-Patchwork-Id: 13697891 Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 924C81448D7 for ; Fri, 14 Jun 2024 06:17:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.118.77.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718345857; cv=none; b=T513seh1CJNul2H56QPuGy6NM0d+XPi1PlWjzRCqUjdqt5Siua0UdBJFscJTUHLWKjmE91eflf4KJ9l9+avBa9yX4qT1A5VYY0+IqC/FABe4AVahavJANLBfZKYOU0si8Z+6RGQ91e7zxNu0NtxUIPkCWvizcE1lG706E9K7gQs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718345857; c=relaxed/simple; bh=oFG37xGsX3MdCgmBJjmNiJUJ9Y7OK01SvQ3tDUxbKMQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:Content-Type: MIME-Version:References; b=bOBlfgXyb40Iq7eeHiA4wd+Vw4Cc7HDyBGA9VgtL3MFNZQgYQqeK6OtjQ0CPh1/VP3CPfdeh29ahTzmhJUPnfpDIWHU/bMgM/VboX7vWPnLzJ+DRzuuxxfEJOgXEPAT7AOKswHj4uJkreVm4Detf1jqf0VgkogykN+2B3beObSc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=QTpE79Fb; arc=none smtp.client-ip=210.118.77.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="QTpE79Fb" Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20240614061727euoutp02d4d5323d92c972cbe788300a86d6a69b~YynGq2_ax0937309373euoutp02B for ; Fri, 14 Jun 2024 06:17:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20240614061727euoutp02d4d5323d92c972cbe788300a86d6a69b~YynGq2_ax0937309373euoutp02B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1718345847; bh=oFG37xGsX3MdCgmBJjmNiJUJ9Y7OK01SvQ3tDUxbKMQ=; h=From:To:CC:Subject:Date:In-Reply-To:References:From; b=QTpE79FbrNyHzEqoml/CyWF07giuy15EZvNv0du06g1cAxE2Eps7d5P4bZLbhP+3j 2BGnOVxmsWdHR6v2wUhTo5W+MzZ/rQ/veaDxPREtHMxYSb/k4/x/5Bqp690Qlg8UTV 2CkVxpihPNCYOIpFhkwN783PKCrlO6KfOKKlbmDg= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20240614061727eucas1p138ba276a7179b6e2c2508ce57b1c5c5b~YynGibQiW1174711747eucas1p1o; Fri, 14 Jun 2024 06:17:27 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 73.74.09620.770EB666; Fri, 14 Jun 2024 07:17:27 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20240614061726eucas1p2da9aac47102bf2a5c590c0d07f04bed7~YynGKfp8c0868308683eucas1p2i; Fri, 14 Jun 2024 06:17:26 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240614061726eusmtrp22df7355631636591df48114241c40da4~YynGKAtyh1924819248eusmtrp2g; Fri, 14 Jun 2024 06:17:26 +0000 (GMT) X-AuditID: cbfec7f5-d31ff70000002594-3e-666be07712ac Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 85.B7.08810.670EB666; Fri, 14 Jun 2024 07:17:26 +0100 (BST) Received: from CAMSVWEXC02.scsc.local (unknown [106.1.227.72]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240614061726eusmtip1ce6d9b3afd468b9504403658f0ae89ce~YynF-JzKB1662616626eusmtip1c; Fri, 14 Jun 2024 06:17:26 +0000 (GMT) Received: from CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) by CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 14 Jun 2024 07:17:26 +0100 Received: from CAMSVWEXC02.scsc.local ([::1]) by CAMSVWEXC02.scsc.local ([fe80::3c08:6c51:fa0a:6384%13]) with mapi id 15.00.1497.012; Fri, 14 Jun 2024 07:17:26 +0100 From: Daniel Gomez To: "fstests@vger.kernel.org" CC: Pankaj Raghav , "mcgrof@kernel.org" , "hughd@google.com" , Daniel Gomez Subject: [PATCH 2/5] common/config: fix RECREATE_TEST_DEV initialization Thread-Topic: [PATCH 2/5] common/config: fix RECREATE_TEST_DEV initialization Thread-Index: AQHaviKG/M0IxN7t8E2aYXs9AVkdHg== Date: Fri, 14 Jun 2024 06:17:24 +0000 Message-ID: <20240614061722.1080-3-da.gomez@samsung.com> In-Reply-To: <20240614061722.1080-1-da.gomez@samsung.com> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted Precedence: bulk X-Mailing-List: fstests@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmphleLIzCtJLcpLzFFi42LZduzned3yB9lpBjNOsVucbtnLbvH0Ux+L xY0JTxkdmD0WbCr12LSqk83j8ya5AOYoLpuU1JzMstQifbsEroxz5/8xF8xnr3i6dBpTA+Ns ti5GTg4JAROJnSe7WboYuTiEBFYwSpxYPIMRwvnCKLH9wnomCOczo8Til+8YYVpar6yBSixn lGifNo0FrurpvK2sEM4ZRokd3deghq1klNjzfikTSD+b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rREJGYuOXq1C2sMSfa11sEEUfGSVaL2xkhHDOMEqcXTuDBaRKSGAlo8TdOZEg NpuApsS+k5vYQWwRAXOJ2R2TwbqZBRYySnxb+AxsrLCAh8TL/U8YIYp8JY5NfscMYetJnGn5 ADaURUBVYsfFmWD1vAIWEr27XwPdygG0zELi2D49kDCngKXEul1tYCWMArISj1b+AtvLLCAu cevJfCaIDwQkluw5zwxhi0q8fPwP6jMdibPXIU6QEDCQ2Lp0HwuErSjRcewmG8QcPYkbU6dA 2doSyxa+ZoY4R1Di5MwnLBMYpWchWTcLScssJC2zkLQsYGRZxSiSWlqcm55bbKhXnJhbXJqX rpecn7uJEZgQth37uXkH47xXH/UOMTJxMB5ilOBgVhLhnbUwK02INyWxsiq1KD++qDQntfgQ oykwiCYyS4km5wNTUl5JvKGZgamhiZmlgamlmbGSOK9nQUeikEB6YklqdmpqQWoRTB8TB6dU A9Pm7U8PX7pRxreruOWQw4kpW/OE7UqTE08sKnVrFZdTMlVrk/Db07Iz7MHy12en+86Z2VNY usHzmbz/Uo+7Jh86Sg8s704pSP+5ifvSpqw7Z0+ECcy9nuV9ef+y84IHZgcmvYi+OkMk7Lri Oa0NKraxYfP0D2xYcp53ho9nY8CXW5VXWq4febtA7vnTZtkVvPPrmfaVP1n0Ne2zvRyXh0uJ nFFS/bSCHYeYy1eW505X0Muxrdx/4sCl3spsJ/92l2tP99xXZVx1vmKCrFpV2KndhrstYruC BVYwxJl++nNaZ07zXzeHbaFBOwwqQ5NSp7aU1yyotq/+Irfo1NWAXTNUJv46Gv9Jf3vTWXE+ TxMlluKMREMt5qLiRACeAdhMkQMAAA== X-CMS-MailID: 20240614061726eucas1p2da9aac47102bf2a5c590c0d07f04bed7 X-Msg-Generator: CA X-RootMTR: 20240614061726eucas1p2da9aac47102bf2a5c590c0d07f04bed7 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240614061726eucas1p2da9aac47102bf2a5c590c0d07f04bed7 References: <20240614061722.1080-1-da.gomez@samsung.com> Do not allow the overwriting of the RECREATE_TEST_DEV variable. When this variable is enabled, common/rc -> common/config will reset it to false after the test device recreation process. This allows for differentiation in mount options for SCRATCH and TEST. Signed-off-by: Daniel Gomez Reviewed-by: Darrick J. Wong Reviewed-by: Zorro Lang --- common/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/config b/common/config index a1cd14de6..43b32b93d 100644 --- a/common/config +++ b/common/config @@ -94,7 +94,7 @@ export PWD=`pwd` export MALLOCLIB=${MALLOCLIB:=/usr/lib/libefence.a} export LOCAL_CONFIGURE_OPTIONS=${LOCAL_CONFIGURE_OPTIONS:=--enable-readline=yes} -export RECREATE_TEST_DEV=false +export RECREATE_TEST_DEV=${RECREATE_TEST_DEV:=false} # Handle mkfs.$fstyp which does (or does not) require -f to overwrite set_mkfs_prog_path_with_opts() From patchwork Fri Jun 14 06:17:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Gomez X-Patchwork-Id: 13697895 Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4A2DC145A05 for ; Fri, 14 Jun 2024 06:24:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.118.77.11 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718346288; cv=none; b=moma/Dw5nq/Mtt+YDxxGKERmYpdBwRWzQzP13q5I54FgeZhMuSXqrTfjQ3k92kB4UdoHCfa04CFVH3cu1lhdChyJYIWGpSKfdn+DUb4rY0+gayBB2HsDj9PS3PcD2UX1sBnK+ggolia4Ry+zkZ7HpqLXrcbgRsI0Xq8YUMO0ea0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718346288; c=relaxed/simple; bh=JpFvTYQ4M+asjczDCV1H93cO3wrO8xDwO7YugmYj8z8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:Content-Type: MIME-Version:References; b=TOy9snmjjvGPZKag7OURq1NcxMQ2BUH5sajC7tjrH+wFbI5yO4EdE6e9fbIOnSVpOkk8xv+U5xi0ZgVmz8Egv727JOSP/TKJkl8QJrytaFxWc5aVrba7N2M/YwIJ8Z1uE143G0ss+ex0IdYtJK6zBd0Qg7d4MJjBk15Fkbd5/vI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=Gc36PTS4; arc=none smtp.client-ip=210.118.77.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="Gc36PTS4" Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20240614061728euoutp0134f566ad658d999a2ce34868a8540e95~YynHY4-5V1698916989euoutp01X for ; Fri, 14 Jun 2024 06:17:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20240614061728euoutp0134f566ad658d999a2ce34868a8540e95~YynHY4-5V1698916989euoutp01X DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1718345848; bh=iHR6kQ59OJ5JZ1znGwcVhKjeCdAbt+XVF+cBGhUHroM=; h=From:To:CC:Subject:Date:In-Reply-To:References:From; b=Gc36PTS4UcjyrpBzenBgX/wiEzWF0GcSiCWsHmP1WIlRGSGQ1l7fUYdlG/O9k/wop c9/LKKdH8HQJD+auYhnq9K8RhLKwbQ9KYNUCEPyopi3pXQsboAoK5mdQ1Iwb3p0k+o fZ27qdHrDU24jop5Sy69IqN3YhNMbWJ5fsmnc4sg= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20240614061728eucas1p1dc0704de091339ab8714981cb13499ea~YynHSmyK00342203422eucas1p1Q; Fri, 14 Jun 2024 06:17:28 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id D3.74.09620.770EB666; Fri, 14 Jun 2024 07:17:27 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20240614061727eucas1p20922542ef700d0f41dc9cc9628392518~YynGil23r0512605126eucas1p2i; Fri, 14 Jun 2024 06:17:27 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240614061727eusmtrp2b102049d7e17d97d2d00f7bef2a54845~YynGh2O2E1975119751eusmtrp2W; Fri, 14 Jun 2024 06:17:27 +0000 (GMT) X-AuditID: cbfec7f5-d31ff70000002594-40-666be077fe34 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id C5.B7.08810.770EB666; Fri, 14 Jun 2024 07:17:27 +0100 (BST) Received: from CAMSVWEXC02.scsc.local (unknown [106.1.227.72]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20240614061727eusmtip2095c20ae24434f748690dfe155767793~YynGWihb23255232552eusmtip2k; Fri, 14 Jun 2024 06:17:27 +0000 (GMT) Received: from CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) by CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 14 Jun 2024 07:17:26 +0100 Received: from CAMSVWEXC02.scsc.local ([::1]) by CAMSVWEXC02.scsc.local ([fe80::3c08:6c51:fa0a:6384%13]) with mapi id 15.00.1497.012; Fri, 14 Jun 2024 07:17:26 +0100 From: Daniel Gomez To: "fstests@vger.kernel.org" CC: Pankaj Raghav , "mcgrof@kernel.org" , "hughd@google.com" , Daniel Gomez Subject: [PATCH 3/5] common/rc: add recreation support for tmpfs Thread-Topic: [PATCH 3/5] common/rc: add recreation support for tmpfs Thread-Index: AQHaviKG3vJmF77yrkuJpj7O4MHjRA== Date: Fri, 14 Jun 2024 06:17:25 +0000 Message-ID: <20240614061722.1080-4-da.gomez@samsung.com> In-Reply-To: <20240614061722.1080-1-da.gomez@samsung.com> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted Precedence: bulk X-Mailing-List: fstests@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpgleLIzCtJLcpLzFFi42LZduzned3yB9lpBnvm21icbtnLbvH0Ux+L xY0JTxkdmD0WbCr12LSqk83j8ya5AOYoLpuU1JzMstQifbsErozOf+kFOzkqfuw7ydLAeIut i5GTQ0LAROL2029MXYxcHEICKxgljj1pYoVwvjBKbO64BpX5zCgx4+4r5i5GDrCWy/MFQLqF BJYzSjx6HQBX82vXeUYI5wyjxI7ua1DOSkaJPe+XMoG0sAloSuw7uYkdxBYRMJeY3TGZDaSI WWAho8S3hc9YQRLCAg4SD+buZ4YocpVon3SfFcLWk5jQ3csGcgaLgKrEqlkZIGFeAQuJR7P3 gc3kFLCUWLerDaycUUBW4tHKX2BxZgFxiVtP5jNBPC0osWj2HmYIW0zi366H0MDQkTh7/Qkj hG0gsXXpPhYIW1Gi49hNNog5ehI3pk6BsrUlli18zQxxg6DEyZlPoOqnc0o82lAHYbtI3Nl4 hh3CFpZ4dXwLlC0j8X/nfKYJj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ha+ZIc4RlDg58wnLBEbpWUjWzULSMgtJyywkLQsYWVYxiqSWFuem5xYb6hUn5haX5qXr JefnbmIEpoJtx35u3sE479VHvUOMTByMhxglOJiVRHhnLcxKE+JNSaysSi3Kjy8qzUktPsRo CgyhicxSosn5wGSUVxJvaGZgamhiZmlgamlmrCTO61nQkSgkkJ5YkpqdmlqQWgTTx8TBKdXA pK4StLWuUC7S5F0z37N1YuUfJ+7Z0hHDfP/fv43/Vt7/z+G5sFft4LNQdUPdrVM7HFazrg+R fqrg4mdSlVHdUySyzNlP492b250H9tbwfJtzXDf9xr3/D97dWVz/YE/fh4B8puNBPA8UZnz5 3fBQUS341qG7kU2P/lhynv7JwZJxS7eZ3z3ocYtz0MGulpXq1ne+fF/Sav1y9ZJjVdsU/OQU fzRl+2UbaknO1bXrCXoc5lSt4c6w8qud+CefQ6L+kRwyq2OD44znWq6/eMgmicVr+4S9M9/X 1qkFr/qcajfd+IxYy9ztvKtZxWsr/mjn9DbUah9afOdywIltK0XbRFQkJi/9+fod26svhR6O SizFGYmGWsxFxYkA2Sejgo4DAAA= X-CMS-MailID: 20240614061727eucas1p20922542ef700d0f41dc9cc9628392518 X-Msg-Generator: CA X-RootMTR: 20240614061727eucas1p20922542ef700d0f41dc9cc9628392518 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240614061727eucas1p20922542ef700d0f41dc9cc9628392518 References: <20240614061722.1080-1-da.gomez@samsung.com> Add support for test device recreation (RECREATE_TEST_DEV=true) for tmpfs. This allows to inherit the tmpfs profile extra mount options (TMPFS_MOUNT_OPTIONS) for the test device. Signed-off-by: Daniel Gomez --- common/rc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/rc b/common/rc index 163041fea..7f995b0fa 100644 --- a/common/rc +++ b/common/rc @@ -457,7 +457,7 @@ _test_mount() fi _test_options mount - _mount -t $FSTYP$FUSE_SUBTYP $TEST_OPTIONS $TEST_FS_MOUNT_OPTS $SELINUX_MOUNT_OPTIONS $* $TEST_DEV $TEST_DIR + _mount -t $FSTYP$FUSE_SUBTYP $TEST_OPTIONS $TEST_FS_MOUNT_OPTS $SELINUX_MOUNT_OPTIONS $TMPFS_MOUNT_OPTIONS $* $TEST_DEV $TEST_DIR mount_ret=$? [ $mount_ret -ne 0 ] && return $mount_ret _idmapped_mount $TEST_DEV $TEST_DIR @@ -604,6 +604,9 @@ _test_mkfs() pvfs2) # do nothing for pvfs2 ;; + tmpfs) + # do nothing for tmpfs + ;; udf) $MKFS_UDF_PROG $MKFS_OPTIONS $* $TEST_DEV > /dev/null ;; From patchwork Fri Jun 14 06:17:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Gomez X-Patchwork-Id: 13697890 Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6EECD3EA7B for ; Fri, 14 Jun 2024 06:17:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.118.77.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718345857; cv=none; b=prdhHLpHMc/kt3yDZAUYn78BJ90/oL+9mMK8mksL7fbXPRo7dn+wnhEMe0Z+g4GaFt1yp+HXeKGb7KGwmN6uNQh5IXST0FWmVYK1tbdyBSQSnVN02MRAGxZNotSLaHw1oJj+DM7fA4G195IMfJbH0dYg/P7ftT6ZuOofdxfejE0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718345857; c=relaxed/simple; bh=VaYqxus4qenVQf8KtNY8nvqclpqZurah5H/tEVxzrs8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:Content-Type: MIME-Version:References; b=s1JotjciGk37KVnfs75wq9rPI2h9OvRthzdqupmL9T90IM5dXNeRbMI3fK/Bxc4/zNKk5MgNKRp/bGQo6QR4SpEs5xTHvlFSx0O0xwn6XcnSp1TbdT3AGLjk6it7DtmD79Sbn7CdBtRfDCaqdGFheZ+7jEo/S2l+8geFwye3lII= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=CbwKQDMC; arc=none smtp.client-ip=210.118.77.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="CbwKQDMC" Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20240614061728euoutp02a5a79f6c779e0975a799d239d8efcb8e~YynHjLlvd0937309373euoutp02C for ; Fri, 14 Jun 2024 06:17:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20240614061728euoutp02a5a79f6c779e0975a799d239d8efcb8e~YynHjLlvd0937309373euoutp02C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1718345848; bh=8NCSmTrJSc/f5hHik1YO9vtEi1Khb42+C4ewEPTSeUA=; h=From:To:CC:Subject:Date:In-Reply-To:References:From; b=CbwKQDMC1hnAFRNkDP89ZFPYNoO2DCb6hFtRuo7v8fgqHauFX9azT/6FamYXTFvdx OujhnVXSY/ySezHSk898ncmLujLKhEpaDR38uu2+3dXYjUXs08RQPYxIardDkHoMWH 6QMffa5kKUc65oRvkXGbIATbKVf7o0CsznTUcGo4= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20240614061728eucas1p181ce12fbc0ec7e69b17adf6b8c58714e~YynHbZ12V1171511715eucas1p11; Fri, 14 Jun 2024 06:17:28 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 8E.E9.09875.870EB666; Fri, 14 Jun 2024 07:17:28 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20240614061727eucas1p19ba98d45511f9226f1c5cf1752b419b5~YynG5Dpjg0342203422eucas1p1P; Fri, 14 Jun 2024 06:17:27 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20240614061727eusmtrp1386a63311e93d6893779b3233180ee20~YynG4Qei21655316553eusmtrp1V; Fri, 14 Jun 2024 06:17:27 +0000 (GMT) X-AuditID: cbfec7f4-11bff70000002693-6d-666be0789753 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id AD.C5.09010.770EB666; Fri, 14 Jun 2024 07:17:27 +0100 (BST) Received: from CAMSVWEXC02.scsc.local (unknown [106.1.227.72]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240614061727eusmtip114710655ae39f6f57c388534907ba608~YynGv_NMG2137921379eusmtip1Y; Fri, 14 Jun 2024 06:17:27 +0000 (GMT) Received: from CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) by CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 14 Jun 2024 07:17:26 +0100 Received: from CAMSVWEXC02.scsc.local ([::1]) by CAMSVWEXC02.scsc.local ([fe80::3c08:6c51:fa0a:6384%13]) with mapi id 15.00.1497.012; Fri, 14 Jun 2024 07:17:26 +0100 From: Daniel Gomez To: "fstests@vger.kernel.org" CC: Pankaj Raghav , "mcgrof@kernel.org" , "hughd@google.com" , Daniel Gomez Subject: [PATCH 4/5] common/rc: fix scratch mount options for tmpfs Thread-Topic: [PATCH 4/5] common/rc: fix scratch mount options for tmpfs Thread-Index: AQHaviKG7LBDn2pSnkKBi8GAx++1Pw== Date: Fri, 14 Jun 2024 06:17:25 +0000 Message-ID: <20240614061722.1080-5-da.gomez@samsung.com> In-Reply-To: <20240614061722.1080-1-da.gomez@samsung.com> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted Precedence: bulk X-Mailing-List: fstests@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpmleLIzCtJLcpLzFFi42LZduznOd2KB9lpBi++cFicbtnLbvH0Ux+L xY0JTxkdmD0WbCr12LSqk83j8ya5AOYoLpuU1JzMstQifbsErox1MyYxF7SxVny5cIy5gXEu SxcjB4eEgInExancXYxcHEICKxgl3uw8xw7hfGGU2L/3EAuE85lR4siUaWxdjJxgHW9O/IGq Ws4ocb5lNjtc1fUd56BazjBK7Oi+xgjhrGSU2PN+KRNIP5uApsS+k5vYQWwRAXOJ2R2T2UCK mAUWMkp8W/iMFSQhLOAs0byziQmiyEPiT+MXqAY9ifcbZzGCnM4ioCqxalYGSJhXwEJi26IG RhCbU8BSYt2uNrAxjAKyEo9W/gJrZRYQl7j1ZD4TxA+CEotm72GGsMUk/u16CPWbjsTZ608Y IWwDia1L97FA2IoSHcduskHM0ZO4MXUKlK0tsWzha2aIGwQlTs58Ava9hMB0TolbB6dBLXCR ePL8CNRQYYlXx7ewQ9gyEqcn97BMYNSeheS+WUh2zEKyYxaSHQsYWVYxiqeWFuempxYb5aWW 6xUn5haX5qXrJefnbmIEppPT/45/2cG4/NVHvUOMTByMhxglOJiVRHhnLcxKE+JNSaysSi3K jy8qzUktPsQozcGiJM6rmiKfKiSQnliSm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U GEITmaVEk/OBCSmvJN7QzMDU0MTM0sDU0sxYSZzXs6AjUUggPbEkNTs1tSC1CKaPiYNTqoGJ 0cNnrneJ6icxXSuVN6UProna+LHKLVn5f+a6wJPPM3ZHh/lfeLadaztj2IKI23+z/3FP2mkW 88XZTefAdgHGcK9m8f6yx1JhUQ6hzwVP/98/5fPEyRkTmO69VAw6dDrx+OzCwxNldhYf6e7P 2/5VRO5TJr966+ZbfaXTJjzKa9Z/6ze5xK+A/dOzP09cuM8vj1HtXvDeV/VXd/GTi7NOcPYt W8TyOOYrZ//23F3mdvUd7BIp3ir8Zw8+mB1a8svjyRe3h4/092QyM0ULuZkpHOyTYds+pzBM Su/p1PPhebG5V3cELd8e9Dw86qjMFaWXRTOvlCjHy0mLtX/R+swpJ31WoGn6Vs7WD/GxDPFK LMUZiYZazEXFiQAPyyAekAMAAA== X-CMS-MailID: 20240614061727eucas1p19ba98d45511f9226f1c5cf1752b419b5 X-Msg-Generator: CA X-RootMTR: 20240614061727eucas1p19ba98d45511f9226f1c5cf1752b419b5 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240614061727eucas1p19ba98d45511f9226f1c5cf1752b419b5 References: <20240614061722.1080-1-da.gomez@samsung.com> Make sure tmpfs scratch device inherits the extra tmpfs mount options variable (TMPFS_MOUNT_OPTIONS). Signed-off-by: Daniel Gomez --- common/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/rc b/common/rc index 7f995b0fa..a42792c37 100644 --- a/common/rc +++ b/common/rc @@ -224,7 +224,7 @@ _test_options() # hosted on $SCRATCH_DEV, so can't use external scratch devices). _common_dev_mount_options() { - echo $MOUNT_OPTIONS $SELINUX_MOUNT_OPTIONS $* + echo $MOUNT_OPTIONS $SELINUX_MOUNT_OPTIONS $TMPFS_MOUNT_OPTIONS $* } _scratch_mount_options() From patchwork Fri Jun 14 06:17:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Gomez X-Patchwork-Id: 13697893 Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C4D3146D57 for ; Fri, 14 Jun 2024 06:24:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.118.77.11 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718346286; cv=none; b=YrG3p8oc0vwm4GpFMQbDcYfGOnaP4rOk0RCbvzcbnXGcM8D+MkGUy9SDV4TPJl4PO02IDYuUl3NskUYghTmVbOtxKCaolP9rotD5w5XmkkjqkP+LwaUnP/FnKzkT3Y106dw9jGthdebiH6PxyOb4G8zeFfhxBf0Fc8Fb/yBOIJ8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718346286; c=relaxed/simple; bh=iDmMtCkprs8uumQasrxAMiXITtz27ee/UynnA5SvLtg=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:Content-Type: MIME-Version:References; b=Jfa5MG0dEHDepizXxu9quytlCL6dIpQaT7UChDA7scbTMXqhYvCJA6mK5Nytu31N5oU4cecPzIKuGY1HGcXN1Bd7I0YGL9Stprqf9x6RWf3VnYEk0y4eYak8BMCqji2Y+HxMl2XWgmy7WJUi61pdGZ0xUma6KI3iFgMQ0vB2/AQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=rVna5Svd; arc=none smtp.client-ip=210.118.77.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="rVna5Svd" Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20240614061729euoutp01f856e7f63e7f9b9af7f33c0e5979ef80~YynISfIJ61680416804euoutp01g for ; Fri, 14 Jun 2024 06:17:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20240614061729euoutp01f856e7f63e7f9b9af7f33c0e5979ef80~YynISfIJ61680416804euoutp01g DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1718345849; bh=s2oSevXb7kXA/PXzWQSNV/0WDopRY9fSPMGsPPccsYk=; h=From:To:CC:Subject:Date:In-Reply-To:References:From; b=rVna5SvdgJSe+NKX8LL1o5+CwNcZnnLPsc6BiLzHHCl2Xx54DWlVd+bnO5GnWy5wR M+VlnYjg8APv4A0jRFM5TWqvyBBs0ciUf70DU/MxAplvDho+FyUUDPS2xyY0UjA05+ +2OotxfDY1B6wS6vji4fUOnpaTNtgj61jV8nRFks= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20240614061728eucas1p19a6b9ef0226c245ab58aee38e4278e9a~YynIDPUMZ2499024990eucas1p18; Fri, 14 Jun 2024 06:17:28 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 8F.E9.09875.870EB666; Fri, 14 Jun 2024 07:17:28 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20240614061728eucas1p2d7488fbbd2887c5d60d2bd1e3fd48580~YynHocN8i2060620606eucas1p28; Fri, 14 Jun 2024 06:17:28 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20240614061728eusmtrp122c4589aee1dc8968aca0e4ec1d39f7e~YynHn9LnC1655316553eusmtrp1X; Fri, 14 Jun 2024 06:17:28 +0000 (GMT) X-AuditID: cbfec7f4-131ff70000002693-72-666be0787d2d Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 0E.C5.09010.870EB666; Fri, 14 Jun 2024 07:17:28 +0100 (BST) Received: from CAMSVWEXC01.scsc.local (unknown [106.1.227.71]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20240614061728eusmtip2f22086396f8f2f76b49344eba5067289~YynHeogs90542205422eusmtip29; Fri, 14 Jun 2024 06:17:28 +0000 (GMT) Received: from CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) by CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 14 Jun 2024 07:17:27 +0100 Received: from CAMSVWEXC02.scsc.local ([::1]) by CAMSVWEXC02.scsc.local ([fe80::3c08:6c51:fa0a:6384%13]) with mapi id 15.00.1497.012; Fri, 14 Jun 2024 07:17:27 +0100 From: Daniel Gomez To: "fstests@vger.kernel.org" CC: Pankaj Raghav , "mcgrof@kernel.org" , "hughd@google.com" , Daniel Gomez Subject: [PATCH 5/5] common/rc: print scratch and test mount options Thread-Topic: [PATCH 5/5] common/rc: print scratch and test mount options Thread-Index: AQHaviKGDA6KUdYWlUyy/G+RuOXD4A== Date: Fri, 14 Jun 2024 06:17:26 +0000 Message-ID: <20240614061722.1080-6-da.gomez@samsung.com> In-Reply-To: <20240614061722.1080-1-da.gomez@samsung.com> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted Precedence: bulk X-Mailing-List: fstests@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: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RveK1cVSa5d7+hZ6OthKJsauwy/X+2q1jd lViKMxINtZiLihMBJa5ufJIDAAA= X-CMS-MailID: 20240614061728eucas1p2d7488fbbd2887c5d60d2bd1e3fd48580 X-Msg-Generator: CA X-RootMTR: 20240614061728eucas1p2d7488fbbd2887c5d60d2bd1e3fd48580 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240614061728eucas1p2d7488fbbd2887c5d60d2bd1e3fd48580 References: <20240614061722.1080-1-da.gomez@samsung.com> Mount options for a SCRATCH device might not be the same in the TEST device if RECREATE_TEST_DEV is not enabled. So, print mount options for each device to clarify this. Add mount and mkfs info for TEST devices so we get the same information being printed for both devices. Signed-off-by: Daniel Gomez --- check | 4 ++++ common/rc | 20 ++++++++++++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/check b/check index 723a52e30..e02d28b39 100755 --- a/check +++ b/check @@ -807,7 +807,11 @@ function run_section() # print out our test configuration echo "FSTYP -- `_full_fstyp_details`" echo "PLATFORM -- `_full_platform_details`" + echo "TEST device:" + echo "MKFS_OPTIONS -- `_test_mkfs_options`" + echo "MOUNT_OPTIONS -- `_test_mount_options`" if [ ! -z "$SCRATCH_DEV" ]; then + echo "SCRATCH device:" echo "MKFS_OPTIONS -- `_scratch_mkfs_options`" echo "MOUNT_OPTIONS -- `_scratch_mount_options`" fi diff --git a/common/rc b/common/rc index a42792c37..b351a82eb 100644 --- a/common/rc +++ b/common/rc @@ -235,6 +235,17 @@ _scratch_mount_options() $SCRATCH_DEV $SCRATCH_MNT } +_test_mount_options() +{ + _test_options mount + + if $RECREATE_TEST_DEV || [ "$OLD_FSTYP" != "$FSTYP" ]; then + echo $TEST_OPTIONS $TEST_FS_MOUNT_OPTS $SELINUX_MOUNT_OPTIONS $TMPFS_MOUNT_OPTIONS $* $TEST_DEV $TEST_DIR + else + echo $TEST_OPTIONS $TEST_FS_MOUNT_OPTS $SELINUX_MOUNT_OPTIONS $* $TEST_DEV $TEST_DIR + fi +} + _supports_filetype() { local dir=$1 @@ -456,8 +467,7 @@ _test_mount() return $? fi - _test_options mount - _mount -t $FSTYP$FUSE_SUBTYP $TEST_OPTIONS $TEST_FS_MOUNT_OPTS $SELINUX_MOUNT_OPTIONS $TMPFS_MOUNT_OPTIONS $* $TEST_DEV $TEST_DIR + _mount -t $FSTYP$FUSE_SUBTYP `_test_mount_options $*` mount_ret=$? [ $mount_ret -ne 0 ] && return $mount_ret _idmapped_mount $TEST_DEV $TEST_DIR @@ -571,6 +581,12 @@ _metadump_dev() { esac } +_test_mkfs_options() +{ + _test_options mkfs + echo $TEST_OPTIONS $MKFS_OPTIONS $* $TEST_DEV +} + _test_mkfs() { case $FSTYP in