From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server-vie001.gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,RCVD_IN_ZEN_BLOCKED_OPENDNS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Authentication-Results: server-vie001.gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=aoADLG6T; dkim-atps=neutral Received: by server-vie001.gnuweeb.org (Postfix, from userid 1000) id 65C5B3204E45; Wed, 22 Apr 2026 20:52:22 +0000 (UTC) Authentication-Results: server-vie001.gnuweeb.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.252.31; helo=sea.source.kernel.org; envelope-from=dgc@kernel.org; receiver= Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by server-vie001.gnuweeb.org (Postfix) with ESMTPS id BE64B3204E44; Wed, 22 Apr 2026 20:52:21 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 27738440F4; Wed, 22 Apr 2026 20:52:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B1880C19425; Wed, 22 Apr 2026 20:52:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776891140; bh=GmrHhiFFa9avyZuJ1/pqSvIn7nS5A42kAxLYzXSQYAw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aoADLG6Tw5tN1TnehbuP+2Z8WayVS6TQeGPKXxBxSmEFAGBJg18GltlleA7PBoGT5 fpL4gwh7AWy5V3YOS6fBfrCVo9+zGEJUGKNdwhK5v2O5uvKVDU3MOSTVFwICkZbFEh S32ss91Rm5mieDH3xC6cadTe/vJJ9uUPVLnwYZlyDfj2Ua8cMIBwM1C+88FSjG6Zh3 xsTZYKmxjDQZjlDsuSTGHCvJohvEhLtpQSOsJ/KEUcX3vf626iljrzvfPc0dCDi1h/ 8/qLfCMyWyudRsGAKD9MpR9dLAQRgyTtkTgVP6cHlP+Fy+ajNc/TEaJUFGC1sdHkrg P8ZazPw1Bry/Q== Date: Thu, 23 Apr 2026 06:52:10 +1000 From: Dave Chinner To: Ammar Faizi Cc: Linux XFS Mailing List , Linux FSdevel Mailing List , Linux Kernel Mailing List , Yichun Zhang , Junlong Li , Alviro Iskandar Setiawan , gwml@gnuweeb.org Subject: Re: XFS Deadlock on Linux 6.12.82 Message-ID: References: <20260422152505.818254-1-ammarfaizi2@openresty.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260422152505.818254-1-ammarfaizi2@openresty.com> List-Id: On Wed, Apr 22, 2026 at 10:25:05PM +0700, Ammar Faizi wrote: > Hi, > > While running Linux 6.12.82 with CONFIG_PROVE_LOCKING enabled, I > encountered the following lockdep splat. Based on the call trace, the > potential deadlock appears to be related to the XFS subsystem. Well known false positive. Lockdep knows nothing about inode reference counts and how they interact with memory reclaim. i.e. A referenced locked inode doing memory allocation cannot be found by memory reclaim processing unreferenced inodes, so reclaim cannot deadlock on inode locks held by referenced inodes when doing memory allocation. -Dave. -- Dave Chinner dgc@kernel.org