Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp188940imi; Wed, 20 Jul 2022 21:00:46 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tiUhhVxOJ39xihz7++NqqG35hJeBSuMsmoqt8MEu3OLEuIcMcLnRr8BiEtcVpHntnH5ADA X-Received: by 2002:a05:6402:501d:b0:437:e000:a898 with SMTP id p29-20020a056402501d00b00437e000a898mr55998757eda.265.1658376045874; Wed, 20 Jul 2022 21:00:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658376045; cv=none; d=google.com; s=arc-20160816; b=l5kk5dAhOzsPc4cBZei1TLPDMJ+nJTzqHwvBnQFXYz3mI3ezPhMCAKn3LEvdhowET7 1N7tM5yzuWCLujv7gEVPVfuBHGmvz209kzW/Aw2uh33xhrYb8HlbWpQL4X/0jiBY5emB d17EnH9nBZoWTF8zlQHopMxUQXMmwxStGlF5P5nhPQ+lb0cnkQWr2sDcsjFlnmS1HV9L pX4VdoeoCkyGSTl976Q7QgiKTX2qxNzY2MtKi/X5zM3cPJKaH3+3882fp1kslwnJvt9U SS2wBuFZbGX+g6AUn0f/swcf6i5JWlWtAoB0YtYqRA68QVWXYv9+dUQqSBzG7+kBh+hm yv0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:dkim-signature; bh=3GYkaU63locA7QUyibWRw4yqUwTKUUpZ1HM8HG9f9rw=; b=WCPz2vI+1lO4R/fXWyPuCP0jBmdET94y/p6W7Cq6q5kuZ0tZrLAOWVSxn8DSTytqeX v1rPu8Zvr3IzjxU1R3RlxsjPjWujwIc1ZCOCA5khqqCffVhkUwl1EreFnM1AzJEy4aWi h7IrrVWrTTLmioJZjGGzAxgxBqCSP30uVW2TqcKktJO1sTISZkFv/wZsQHPNvc4hV4l5 mXMGl+aX4owL5p0ZmJERGdKcxZf7oktEBDLptdqHrvm7K/WJAtA+oVn5tidYkWRo1jFW xpCptLtly77hMEOfQRs2DLPghxj9IRKSmRmD7KZspn93z34MrJ1TM3FVX/J/UUNRDOPB YWxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=PHRU1jXD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb10-20020a170907160a00b0072b68e6cd9dsi1474103ejc.389.2022.07.20.21.00.20; Wed, 20 Jul 2022 21:00:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=PHRU1jXD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230219AbiGUDz0 (ORCPT + 99 others); Wed, 20 Jul 2022 23:55:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbiGUDzX (ORCPT ); Wed, 20 Jul 2022 23:55:23 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD5879FED; Wed, 20 Jul 2022 20:55:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1658375696; bh=48cKDIu5LTpLN2aSvk61E4guPih8QwzLLDZ7+x6KSM0=; h=X-UI-Sender-Class:Date:To:Cc:References:From:Subject:In-Reply-To; b=PHRU1jXDHyqrx2T3MqsIcxJPbYUbXDnVqFEkNqUI61COkfRqWLbybp71U8u05je0Q ONuJuVXcG7SKLeQMrBXPkflPfhMIrH9EyUCj/7hoy9OvNatczLBjejdw1CwiZmvEoW 2GJ06WUkiYfv7mBFDKwHReUQOleX7yNrSl2IAQlg= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.20.60] ([92.116.166.214]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mf0BG-1nYzqU1QkM-00gbyQ; Thu, 21 Jul 2022 05:54:56 +0200 Message-ID: <2843f0fb-e11f-0622-da3a-1b9b46ca88f8@gmx.de> Date: Thu, 21 Jul 2022 05:54:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Content-Language: en-US To: Sam James , Al Viro Cc: Hillf Danton , John David Anglin , linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org, linux-fsdevel@vger.kernel.org References: <20220709090756.2384-1-hdanton@sina.com> <20220715133300.1297-1-hdanton@sina.com> <860792bb-1fd6-66c6-ef31-4edd181e2954@gmx.de> <20220720110032.1787-1-hdanton@sina.com> <9B4CB715-FEA1-4991-ABA1-23B2DF203258@gentoo.org> From: Helge Deller Subject: Re: WARNING: CPU: 1 PID: 14735 at fs/dcache.c:365 dentry_free+0x100/0x128 In-Reply-To: <9B4CB715-FEA1-4991-ABA1-23B2DF203258@gentoo.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:QfAgaJDPnnPFTanAOSR7rUPB8J0o9zYJfDtSETEgK6/HX2MZa7j 0Pwd5fdxMDLtBWmHyGfmQdRqzaFqnzlO0fYJzSWAHf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MsM xOaNJ+18uoHLG8gOTpWSXZNPZeOCbkZy5EurFjxCv9+TW75opTVIOJ6xr7Ti0d6VZGf2sgKyz COfjSSuArx5DQVBQp8hEyju6az1mgEppGU4Fm6molfuax+doD8Fot6h9mAX2//+dXxvIWN9PQ acYhMChYRfShNb5RTLcVNkyEomjh69GtjcHpn86X77/dUD0/nuGAzItKwBkv2D9u/HUx3+RdN Z0bw+IuXG57G5zFkbcxPgmCqw7LgL23wokAvQsXROxmb2XvmkCYpInf7w== X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/21/22 01:15, Sam James wrote: >> On 20 Jul 2022, at 18:06, Al Viro wrote: >> >> On Wed, Jul 20, 2022 at 07:00:32PM +0800, Hillf Danton wrote: >> >>> To help debug it, de-union d_in_lookup_hash with d_alias and add debug >>> info after dentry is killed. If any warning hits, we know where to add >>> something like >>> >>> WARN_ON(dentry->d_flags & DCACHE_DENTRY_KILLED); >>> >>> before hlist_bl_add or hlist_add. > >> [snip] >> I wonder if anyone had seen anything similar outside of parisc... Me too. Of course it could be caused by the platform code, as we have had issues with caches, spinlocks and so on. On older kernels we also have seen RCU stalls in d_alloc_parallel(). >> I don't know if I have any chance to reproduce it here - the only >> parisc box I've got is a 715/100 (assuming the disk is still alive) >> and it's 32bit, unlike the reported setups and, er, not fast. It's fun to boot it, but it will be too slow for actual testing. >> qemu seems to have some parisc support, but it's 32bit-only at the >> moment... Yes. I think it will be hard to reproduce it in the VM. > I don't think I've seen this on parisc either, but I don't think > I've used tmpfs that heavily. I'll try it in case it's somehow more > likely to trigger it. It happened on the debian buildd server with tmpfs. To rule out tmpfs I switched to ext4 (on SATA SSD) and it happened there as well. I assume Dave's report is on ext3/ext4 with SCSI discs. > Helge, were there any particular steps to reproduce this? Or just > start doing your normal Debian builds on a tmpfs and it happens > soon enough? Currently it's not easy to reproduce for me either. It happens on the debian buildd server (4-way c8000 machine) while buildin= g the webkit2gtk package. I think it happens at the end when sbuild cleans the build directories by deleting all files. Maybe there is a filesystem test toolkit which you could try which hammers the fs by deleting lots of files in parallel? Helge