From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DAB62C433F5 for ; Wed, 29 Sep 2021 06:52:39 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 25ACF60EE5 for ; Wed, 29 Sep 2021 06:52:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 25ACF60EE5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4HK6WT3llqz2yxW for ; Wed, 29 Sep 2021 16:52:37 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lst.de (client-ip=213.95.11.211; helo=verein.lst.de; envelope-from=hch@lst.de; receiver=) Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4HK6Vx6K2Gz2xXh for ; Wed, 29 Sep 2021 16:52:08 +1000 (AEST) Received: by verein.lst.de (Postfix, from userid 2407) id E4F6567357; Wed, 29 Sep 2021 08:52:02 +0200 (CEST) Date: Wed, 29 Sep 2021 08:52:02 +0200 From: Christoph Hellwig To: Abdul Haleem Subject: Re: [next-20210827][ppc][multipathd] INFO: task hung in dm_table_add_target Message-ID: <20210929065202.GA31534@lst.de> References: <68dde454-965a-0c44-374a-a0ca277150ee@linux.vnet.ibm.com> <20210901133618.GA16687@lst.de> <86f8e47b-84ca-4cc3-5d5b-f5f11c1d4d1a@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86f8e47b-84ca-4cc3-5d5b-f5f11c1d4d1a@linux.vnet.ibm.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: axboe@kernel.dk, sachinp , jack@suse.cz, linux-scsi , linux-kernel , dm-devel@redhat.com, linux-next , dougmill@us.ibm.com, Brian King , linuxppc-dev , Christoph Hellwig Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Tue, Sep 28, 2021 at 03:53:47PM +0530, Abdul Haleem wrote: > > On 9/1/21 7:06 PM, Christoph Hellwig wrote: >> On Wed, Sep 01, 2021 at 04:47:26PM +0530, Abdul Haleem wrote: >>> Greeting's >>> >>> multiple task hung while adding the vfc disk back to the multipath on my >>> powerpc box running linux-next kernel >> Can you retry to reproduce this with lockdep enabled to see if there >> is anything interesting holding this lock? > > LOCKDEP was earlier enabled by default > > # cat .config | grep LOCKDEP > CONFIG_LOCKDEP_SUPPORT=y > > BTW, Recreated again on 5.15.0-rc2 mainline kernel and attaching the logs It seems the reinstate is blocking on the close which is blocking on flushing dirty data. In other words it looks like the link blocking looks like the symptom and not the cause.