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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 46C12EE57E0 for ; Fri, 8 Sep 2023 08:58:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kF0oILMUFsSY5a6G64rD1zOyHkiG9yShjV0v5rVDZag=; b=2bHyqYB7YtAyO/jQ2ioGSgGy7T r9AcrPPqHNn2Fs0Fv1yBbv9ikZ2f5iKROLx8+NPkjJ24WL43ZZ2gEXRnGCbVhRqzsvfrj9eGio3xU GYXWGAoWCespqZbp6v/QfBCUZWJ7aMHtT4emCdDM0+QmagHa4WwGPSYEKXUauCY6gvOXPgC1mUMHr 7u/Ng3GWMWeExdpyBT1v+tNvFsfpEEODGVUv8WgLArV91N8njCYfPWcSAKdDZ5wp+u1wKrB2RjyEM 0cPGxfs2uoflcqqMXEGl+qCpvBdaWVwbS+aucjGOLB79GHIS8ecPaUEspMhpJbmja0OEGehOE1pn8 dJVZ9IsQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qeXJQ-00DMDP-2D; Fri, 08 Sep 2023 08:58:00 +0000 Received: from smtp-out2.suse.de ([2001:67c:2178:6::1d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qeXJO-00DMD3-0w for linux-nvme@lists.infradead.org; Fri, 08 Sep 2023 08:57:59 +0000 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id D99041F461; Fri, 8 Sep 2023 08:57:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1694163476; h=from:from:reply-to: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=kF0oILMUFsSY5a6G64rD1zOyHkiG9yShjV0v5rVDZag=; b=fMPG9md83O4CLDFPEm2vgA/3bh2zmK4nUJE0rgNyPJelsaTfukwSLPa4ax/TL8pLyzt5ej SSasD7Ll01f89/4dI0dxdl1VLEr43U+vFmwcLHfTVyjFnI+tjQv8PsdJS6gtEgJk5VnUDR cZhduutuCVmDEM6DvSS4UrfxAPwjxU4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1694163476; h=from:from:reply-to: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=kF0oILMUFsSY5a6G64rD1zOyHkiG9yShjV0v5rVDZag=; b=+/WOj0D04YXvvJXqbaN+attcAKfE1I9Z7ODWWyRn+jQM2Ecpr7Q2/H4D9sAhBrJ6JDTZ3t d95q96PX1BNA+OBg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id CA0DE131FD; Fri, 8 Sep 2023 08:57:56 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 4XgGMRTi+mQVQwAAMHmgww (envelope-from ); Fri, 08 Sep 2023 08:57:56 +0000 Message-ID: <77c0f80d-cf77-4828-93ce-5cb06405ceac@suse.de> Date: Fri, 8 Sep 2023 10:57:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC] nvmet-tcp: add new workqueue to surpress lockdep warning Content-Language: en-US To: Yi Zhang Cc: Guoqing Jiang , hch@lst.de, sagi@grimberg.me, kch@nvidia.com, linux-nvme@lists.infradead.org References: <20230726142939.10062-1-guoqing.jiang@linux.dev> <065d800d-8c6c-4257-ade2-9ffa92c36735@suse.de> From: Hannes Reinecke In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230908_015758_476763_DEDD0C2D X-CRM114-Status: GOOD ( 12.91 ) X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org On 9/8/23 10:44, Yi Zhang wrote: > On Fri, Sep 8, 2023 at 4:09 PM Yi Zhang wrote: >> >> On Fri, Sep 8, 2023 at 3:15 PM Hannes Reinecke wrote: >>> >>> On 9/7/23 10:12, Guoqing Jiang wrote: >>>> Hi Yi, >>>> >>>> On 9/7/23 14:41, Yi Zhang wrote: >>>>> Tested-by: Yi Zhang >>>>> >>>>> Confirmed below issue was fixed by this patch: >>>> >>>> Thanks a lot for the test! >>>> >>>> And I had got another similar lockdep warning about nvmet-rdma. >>>> >>> Please note that this issue is fixed by my patch 'nvmet-tcp: avoid >>> circular locking dependency on install_queue()' send earlier to this list. >>> >>> Can you please test with that one to see if it fixes the issue for you? > > Hi Hannes > There are changes in nvmet_tcp_install_queue and the patch cannot be > cleanly applied, > Could you check it, Thanks. > On which tree? Cheers, Hannes