Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5281956rwl; Tue, 11 Apr 2023 03:13:22 -0700 (PDT) X-Google-Smtp-Source: AKy350ZgiI4//j64uKR6B5wj55XxTs2Mmn6ZhhS05awfkhGQb88NrTMEpGWgQrZhmK3/XLyQtm7c X-Received: by 2002:a17:907:6295:b0:94a:35d1:59a with SMTP id nd21-20020a170907629500b0094a35d1059amr10451100ejc.14.1681208002102; Tue, 11 Apr 2023 03:13:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681208002; cv=none; d=google.com; s=arc-20160816; b=0bwLSLgNwBhfntV4VYhhPMFuzzyf9VW6DqBqFp9KcQz/5zGIfL0UPgp7k3TGficIbC dnPOjqyNejKiW/8QsTJ3UdW+fVMGKiyGjIz/CaOrQkEv6fiVx0EL87lVJf4YddBUItKS kkq8aZRMIp7K9adAgV1bi3aL9XDrpnB4dYQdtfZ/pAhuAq620M6uvOst8B5K5qR+H5qq DpjstWiRenl97mZ8zSvBAf+2DRymOZd4NcVXCCdfL748LlDR7IVvchR1gn/RTCQD+mii Y9WDeEmtJlEduMlXlAatFkE2Nl/CipmE4KJOnNJ9WwcwpOhWuvI720uw3ZCCFds9lAER cavQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=EV8e+y7eNRKrFN0k8UGFpRSD2keQGbtk2Rp81PGmh1o=; b=sTna3QLnl8NwzhmSQlrwF5ZSk3O158l3qgB+8aB+Q+QokF36iWEV49zvTpDFgeDFhY BuYiwFmJkMmJHNh9723NS45c2ISxdkqinnVcYRoZbgN20Wi3GpZUgd9dZS7yt1ahudS1 ZM5+6zbZbd27u+h4KEZSNnGs2hvhxCYCXEPRLqpsjR+zECiSEi663qci8162u9nzTDil 7HRokWV++u3pz5n2Pw27c7M7L00ry5sGLsc3qVhr5OH+jTvEriGmXTYFcjXVmkhHaiUU 33ZsPbLAA4GM5UGnfGozxHQYJ3oowFj3NcGIqAGydy6CQav0USdWb4y4NRxaoKvY380i i2nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=uPr2HSiN; dkim=neutral (no key) header.i=@suse.de; 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=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v24-20020a17090606d800b0094a8493b52fsi1461269ejb.821.2023.04.11.03.12.57; Tue, 11 Apr 2023 03:13:22 -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=@suse.de header.s=susede2_rsa header.b=uPr2HSiN; dkim=neutral (no key) header.i=@suse.de; 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=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229565AbjDKKJl (ORCPT + 99 others); Tue, 11 Apr 2023 06:09:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjDKKJi (ORCPT ); Tue, 11 Apr 2023 06:09:38 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BE0330FA for ; Tue, 11 Apr 2023 03:09:34 -0700 (PDT) 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-out1.suse.de (Postfix) with ESMTPS id DE4ED219FE; Tue, 11 Apr 2023 10:09:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1681207772; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=EV8e+y7eNRKrFN0k8UGFpRSD2keQGbtk2Rp81PGmh1o=; b=uPr2HSiN9KFEGP474YkBadjLab0gOtMS+1OSfO25IayTA0yjUfwB9F1Dx2ICgpPZVLMrFR mULtYW+rQYwIyySAdhvmHkpkQWJ4m3bd//cFUspraXLk+5QHy9SWB1PgIocOfFyBtj0lC1 XJBDVyMTXGQjsZ/+yJkfKFJ7zFFQnSQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1681207772; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=EV8e+y7eNRKrFN0k8UGFpRSD2keQGbtk2Rp81PGmh1o=; b=BHQ9Gw2QP0Q7LUnJEEGkp5RgzyqBtc5tCALhs7YVgVkKISbNPTlHSK/w0kwzHx3NBuU+Xc XNsyb+MIEpZS0HAg== 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 CF90E13638; Tue, 11 Apr 2023 10:09:32 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 6ruhMtwxNWTRQAAAMHmgww (envelope-from ); Tue, 11 Apr 2023 10:09:32 +0000 Date: Tue, 11 Apr 2023 12:09:32 +0200 From: Daniel Wagner To: linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Sagi Grimberg , James Smart , Chaitanya Kulkarni Subject: Re: [PATCH] rvmet-fcloop: Remove remote port from list when unlinking Message-ID: References: <20230411092209.12719-1-dwagner@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230411092209.12719-1-dwagner@suse.de> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Tue, Apr 11, 2023 at 11:22:09AM +0200, Daniel Wagner wrote: > The remote port is never removed from fcloop_nports list. During module > unloading it's possible to end up an busy loop in fcloop_exit, because > the remote port is found in the list and thus we will never progress. > > The kernel log will be spammed with > > nvme_fcloop: fcloop_exit: Failed deleting remote port > nvme_fcloop: fcloop_exit: Failed deleting target port > > Signed-off-by: Daniel Wagner > --- Found a bunch more problems which need to be addressed. I'll collect all changes and send them as series.