From patchwork Mon Jul 29 08:47:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yangerkun X-Patchwork-Id: 13744561 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09C8DC3DA4A for ; Mon, 29 Jul 2024 08:50:43 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 772236B008A; Mon, 29 Jul 2024 04:50:41 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 722A46B008C; Mon, 29 Jul 2024 04:50:41 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 610A86B0092; Mon, 29 Jul 2024 04:50:41 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 49C826B008A for ; Mon, 29 Jul 2024 04:50:41 -0400 (EDT) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id DED6A1601CB for ; Mon, 29 Jul 2024 08:50:40 +0000 (UTC) X-FDA: 82392169440.26.3FF02F6 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by imf05.hostedemail.com (Postfix) with ESMTP id 854F610000B for ; Mon, 29 Jul 2024 08:50:38 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf05.hostedemail.com: domain of yangerkun@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=yangerkun@huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1722242979; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Pz3+O7HG8OqeCCCvw6Jw5YiTlDscVkvTxCyYUirFI7U=; b=x99i9Ptkeb8eWHBijqjithTVG2TN+Fkioly6yB9roBT78UTDdhaAfh0T2HbloLsl0CzG3T ySZ9EhUA+nlKxibi4/XfVHjT5P4x12fXJWotH4NijwqbIRMrTPl7mK3COuSwTt9BkyX7zI mWWuTjgdqVbr6vO+6pYrwUBL+ReZg8I= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1722242979; a=rsa-sha256; cv=none; b=tt2o19MfjMBOmuJUO2rrj6OC7dXC+tVRGAXnDHJqtowF97j8YCoYAIDPa57CxaRs52BbGv IuW2PEqDlZZvEGbLcWwbq7fyWxUYr8J8BJy5KCZWPfF93NI8P9D2aOMBqaraEGHxSuCzxm 6RiGfm7ntcK6MHZb1EPTe6IFZ/644mU= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf05.hostedemail.com: domain of yangerkun@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=yangerkun@huawei.com Received: from mail.maildlp.com (unknown [172.19.88.105]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4WXX8F30b4zdkPX; Mon, 29 Jul 2024 16:48:45 +0800 (CST) Received: from kwepemf100006.china.huawei.com (unknown [7.202.181.220]) by mail.maildlp.com (Postfix) with ESMTPS id E14F4140444; Mon, 29 Jul 2024 16:50:34 +0800 (CST) Received: from localhost.localdomain (10.175.104.67) by kwepemf100006.china.huawei.com (7.202.181.220) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Mon, 29 Jul 2024 16:50:34 +0800 From: Yang Erkun To: , CC: , , , , , Subject: [PATCH v2 2/2] generic/732: don't run it on tmpfs Date: Mon, 29 Jul 2024 16:47:15 +0800 Message-ID: <20240729084715.1736839-2-yangerkun@huawei.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240729084715.1736839-1-yangerkun@huawei.com> References: <20240729084715.1736839-1-yangerkun@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.175.104.67] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemf100006.china.huawei.com (7.202.181.220) X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 854F610000B X-Stat-Signature: di9rqdj8ugd636x9mquh8pq7z889x3ho X-Rspam-User: X-HE-Tag: 1722243038-361568 X-HE-Meta: U2FsdGVkX18yqv5RGH2pJS9wPHVMA3O7oUHe/b5Y364sJf+cD/p3yaA7aXFThi1fpWJBFbXPkWkdNlX8lIFStQVF08VMMLCH4Gm0jRAmV2dz46IHtfomlQwdHFCvOaFpIFFLnoNNURzsAiR71Vxq56YRW2yvMKVgQE27e53KuUSOrATGFE4ewM6IwZ9TIrBKDrxlY7YATGrXFSmp+qsMJP6amFprUpk6UAVLPVIB1mFebVUYMN8EbdkHzPjr+WZJUiXh7uh2t4YKu1OqyFNvbBAgDMPlXLlcwHdm6tu9XpB/NmzhywPl6FbuU/14mPs7W93zufvktJzih9VTsczZ9WLMiUUqmOpqa0lC9p1Jba8e7H74hfiuB5yFnIb2FFnWtWvrzRgy91wqKcLW2YJ0a9b7L8+iiRVNDQwhITH2P47vIYB47/fS0a8wOTv2kLV9A9k9TK4F0Nra3JtKO4l+ebLIo/s9vhRyxVWwXqc04Bx0tTVrOSyf6r+TDi96K+mSHaJQJ46dLNDgkZotQw5BtC7sgGPnduC2YXGqusSj7oR9f3T/zpEerXQnc4SEZEej2UAv8vjrCRliSPqLzSCkvXYUbahUYDgL944Z89bQ8WL40+ijWa1rMLX5pIvIX6F7pwPNrvikzx6ibCk43Nrz9K3fyRl5cxq69YStv8HAVSjni51dqiULDM252EOJvVXSEDFlEvGogwJICBbyod1pfEa2wvoyL7QgeXcfHPVf+7MVS5c1UZEt8rvfCfdIf5OiCd5kJJyVAAue0a/PPV7T2VQcPdkBe1hqDc7D/aW1uIfggxPbwjgXLmnJ9narfYmtlEbGGJu4edPTCOK0CFKNgjXQnXQNDdjdMNj4+WZMguUYCDDA2RAJUPfyPspiPENJ/SwzzbFNZjpzzbufF1ZV9lHhPMOTbrN9JdDBgf5ulXAj1w5RI21AovHGXdd6HDTls+lO/qvTjp7T3sLGmp8 75bJ0dSp Qigc6Bb9Eww0axQbp3Gmg7EGewpBSGowM4GmXEU7c6CHk5fX2KHxYV22/E2i1ycJoxuEB2jZ84OGNchOIxTIlpc9r8p+qd3BYHC1osYqakjEHFE0HIwl6W38AqwlJ7QGVmWeyN4LW0/CPzQoG2GpRrXjLLw== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Like what 4fd042e0465c("generic/732: don't run it on NFS") say, the same options for tmpfs won't share the same backend. Skip it for tmpfs. Besides, add some explanation for why we should skip tmpfs. Signed-off-by: Yang Erkun Reviewed-by: Christoph Hellwig --- tests/generic/732 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/generic/732 b/tests/generic/732 index d8475cda..d08028c2 100755 --- a/tests/generic/732 +++ b/tests/generic/732 @@ -21,7 +21,10 @@ _cleanup() rm -r -f $tmp.* } -_supported_fs ^nfs ^overlay +# This case give a assumption that the same mount options for +# different mount point will share the same superblock, which won't +# sucess for the follow fs. +_supported_fs ^nfs ^overlay ^tmpfs _require_test _require_scratch