From patchwork Sat Jul 20 08:35:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yangerkun X-Patchwork-Id: 13737748 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 0384DC3DA49 for ; Sat, 20 Jul 2024 08:38:34 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4D8416B0082; Sat, 20 Jul 2024 04:38:34 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 487BB6B0085; Sat, 20 Jul 2024 04:38:34 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 376CB6B0088; Sat, 20 Jul 2024 04:38:34 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 1AE666B0082 for ; Sat, 20 Jul 2024 04:38:34 -0400 (EDT) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 6958A40ACB for ; Sat, 20 Jul 2024 08:38:33 +0000 (UTC) X-FDA: 82359479706.09.FA88AC9 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by imf29.hostedemail.com (Postfix) with ESMTP id 63A48120015 for ; Sat, 20 Jul 2024 08:38:30 +0000 (UTC) Authentication-Results: imf29.hostedemail.com; dkim=none; spf=pass (imf29.hostedemail.com: domain of yangerkun@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=yangerkun@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1721464668; 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: references; bh=4gfv9l2VLfXkwLRK/qCrV+4dTO4ZFPFxEdx4nMa5O2U=; b=DfK1EZNTYiOh69Cit6RPKy9d6RWxeTbxa0VqReQnLp72ep294XGZb8bcdATJUJ7AQYfmWr +RgvwccfL1VttcdCDc1Ctrp0LjDwncjAK7bw+w4+jyZMFVVqf12t1K/IEipJ7RJQsgHUVq LkbdbTIE8l+ARGdp4n1H+7n//e3vGkw= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1721464668; a=rsa-sha256; cv=none; b=DOthO52OZzetkIFboYAj7AQ2BZI3kM9FSjKs9g8huCKm5gur+iIiszUKukDo/zY4DjGsOH JYDflebrg8ck85dSRBqhlWK9iJFD7fnPX6LyL+MMt37yq0bw4P4OOj7JoOuyvFT0D1sS7Y VzMxny21mvQufHseIZQGztrMRAk+SCA= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=none; spf=pass (imf29.hostedemail.com: domain of yangerkun@huawei.com designates 45.249.212.188 as permitted sender) smtp.mailfrom=yangerkun@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.48]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4WR0JR0CrvzdjVb; Sat, 20 Jul 2024 16:36:39 +0800 (CST) Received: from kwepemf100006.china.huawei.com (unknown [7.202.181.220]) by mail.maildlp.com (Postfix) with ESMTPS id 2CD4F18006C; Sat, 20 Jul 2024 16:38:24 +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; Sat, 20 Jul 2024 16:38:23 +0800 From: Yang Erkun To: , CC: , , , , Subject: [PATCH] generic/736: don't run it on tmpfs Date: Sat, 20 Jul 2024 16:35:38 +0800 Message-ID: <20240720083538.2999155-1-yangerkun@huawei.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Originating-IP: [10.175.104.67] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemf100006.china.huawei.com (7.202.181.220) X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 63A48120015 X-Stat-Signature: syyhingc9hchpj6g9ewhc98bar8roup4 X-HE-Tag: 1721464710-59996 X-HE-Meta: U2FsdGVkX194cm+GwuUAI7dzVYA60RKUDKlZBsacXZPFTo+p/u4dKyUqgm2f9Oxu9N004VFz0F8Tow4zmyLGy+KrX293yzfv1Bz00585uFtI29v3X8UKj6TQqspzW1LlckHmJQYuHrGZEqjY+LebxAW5elghvoy/0I9rZP67xPKz18fgze3XdV/1aWawxQYqsgT3At1N/hopVEuQiNZhns3Ghw14RcLi1aurPH7R3V1FWskNwNukGdfu9pO2Qand3OPtbsZJCQeo/ToqwMZRrNHTkC9OvX/3reyUe3jhcVI7kJNVdRXqV6sRkUnX71maBrZbKTNpaRziZg4KiT09RCo+C57kQvrDVmezTRjFbvZWKRFqCoo1jlwJW1ndz3fYBHUhl/YvKeeyO/5ebZLoeVdgXvzmeBoiEYTBAm3NfQt0GoOM837WAHpfi4Zd3wMmwYD8OjF4Wtu+XBQf2o8zFNpsU6BrLTZ0g3o6W2Kpj5uSx/T1UZhbt1+k2tXqyHkBv6Ehd2uT6HgjxqPZtIKWTBiEtR/0LA15AeDf70VbCFEUnlqgVOm522Ua/QfUVf+ZOrxpGPlQytUwAobaLfCMReyhvXAi/3o2eqkajm5hVRCI7tmTpIYrRHU9HJNT/FRnkSXGj9quPv+VLgrgOXJGNgPsaPP88Y4l96QPXEzMGE1IChMJxe0AUTZHd94ahZw3/SwLPd65IYxGhPmbIpsuWLydq1y++XFdFTS0ObQqTmCWpDjlewd2E6Xq31t/cbuBJbAoCxXFAzPclKuRNxmXq6bUuuCiBhX6XCgmQar6JYBEf6mYK072G5wlX4JiDFTVsJEcI3g0XyX0cNbb9SL/6HCXuzbnRxYCZa3upQzKtbiKSOk83rJEQpDYul9pMYMTYrZqFeY+LVWCV55srqGBtTB4CEgqDFoKanEfO6BQfvnmZz2LsfMEfCp2178EzzDhZZFLZO5gsGYvX3XD6le ILXpAAnv IYVjD9oDtZGvp3CYFPhc4yaG9YEU+CMs9r9sw21391kBeMk6R4dts1Gfsd7T8CXfq6cpq2Z++ua+XyCvWR3xQmyjYwjFsjxHJLwgBr4jH29JaffsgQLPvtZq9Rjk0I3j10eCWsQk3yVUo6i1NRlHpnW5lSQ== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000009, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: We use offset_readdir for tmpfs, and every we call rename, the offset for the parent dir will increase by 1. So for tmpfs we will always fail since the infinite readdir. Signed-off-by: Yang Erkun --- tests/generic/736 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/generic/736 b/tests/generic/736 index d2432a82..9fafa8df 100755 --- a/tests/generic/736 +++ b/tests/generic/736 @@ -18,7 +18,7 @@ _cleanup() rm -fr $target_dir } -_supported_fs generic +_supported_fs generic ^tmpfs _require_test _require_test_program readdir-while-renames