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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20681C10DCE for ; Fri, 6 Mar 2020 13:05:01 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id D588622B48 for ; Fri, 6 Mar 2020 13:05:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="VO1s6auZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D588622B48 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=rinjsirp96FH4l0okh5dN/Imr2g3PpAl1VzdfVGhezs=; b=VO1 s6auZxachCjRyQIgrPy08veuemzAgH3sk3jKnuCck/wjApbeWQHMaotxRGQkHZEGCa9u7y7NYDchR hNgXpMa9Ci7dpRKnQ6mpCOYNeG2N0sDZEHXuuaJ+XKiw3bZPfy8Udk7ZLmItzsgCJzbWofP+bQb1J iYAC8roneo69FF+a5K1bfwxDFNQoQ51eEjJKyW5PhfKPtlyItVQRctcbq06z4G+bMS3mk5TOABtc9 PG5BJHX58nks87DLzzPmPRYSSSgxE0N/047qgvXp/evUQFGlgkbdeXTXcQ+w53Jt/IN2j5B0+zau3 M6gFLl37UtPtPzL1tfrBikPg04hbSGA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jACev-0008HQ-Jt; Fri, 06 Mar 2020 13:04:57 +0000 Received: from mx2.suse.de ([195.135.220.15]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jACeq-0008EP-Lr for linux-nvme@lists.infradead.org; Fri, 06 Mar 2020 13:04:54 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 2FF6BB1F7; Fri, 6 Mar 2020 13:04:49 +0000 (UTC) From: Hannes Reinecke To: Christoph Hellwig Subject: [PATCH 0/3] nvmet/fcloop fixes Date: Fri, 6 Mar 2020 14:04:37 +0100 Message-Id: <20200306130440.16864-1-hare@suse.de> X-Mailer: git-send-email 2.16.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200306_050452_867166_2835899A X-CRM114-Status: GOOD ( 10.29 ) X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chaitanya Kulkarni , Keith Busch , James Smart , linux-nvme@lists.infradead.org, Hannes Reinecke , Sagi Grimberg MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org Hi James, here are some fixes to be applied on top of your recent patchset for nvme-fc (or even to be included with it). With these fixes my fcloop blktest runs without issues and I can even unload the fcloop module afterwards. As usual, comments and reviews are welcome. Hannes Reinecke (3): nvmet/fc: Sanitize tgtport reference counting for LS requests nvme/fcloop: short-circuit LS requests if no association is present nvme/fcloop: flush workqueue before calling nvme_fc_unregister_remoteport() drivers/nvme/target/fc.c | 23 ++++++++++++----------- drivers/nvme/target/fcloop.c | 38 ++++++++++---------------------------- 2 files changed, 22 insertions(+), 39 deletions(-) -- 2.16.4 _______________________________________________ linux-nvme mailing list linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme