Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6789814rdb; Tue, 2 Jan 2024 13:36:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFP6N7n2qjrXbJsFX6lukR3nB9SE87jcSjUG6ILRSyW1Qokt4AYiAFvJ4hbEMNTM3OaD/6j X-Received: by 2002:a17:902:ea06:b0:1d4:2066:68c with SMTP id s6-20020a170902ea0600b001d42066068cmr8367376plg.130.1704231371347; Tue, 02 Jan 2024 13:36:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704231371; cv=none; d=google.com; s=arc-20160816; b=nlPrW9j9s+FJuBtOQ6AUORO2qSvWIGZlmzS2SnoBEuk1EZ8wjIFC5jRsf2RmRtTeP7 EQ734P2LNzGA2sxeY03HaMp6vIm3Jvm2HjBtspL9902hEdPt2WUPa5yAhVlQH3q8wKvb R8DvnezW8CiBB4qX0ff/J5iDyn8C93xEyyqBsPhBpTgDa+fSh1Kg4fWR1sDAYaHwLsdi tqAHf0XLxsvEYSvQReICNnpEUJHds/GCCcCGGlajYLGR+fAOespn5sKWdQITN1zaYCKx uV0MSFO8Nke9TlEFMYh4PX80ybU4xrwUAqI5EsqwDNzr4Rorn+wgC8hHeQyVwsZKDuC3 Vz9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=djDE0kLnCXXLaPSstiDGt7A04G7tmp5Zn2vS9Nqch3g=; fh=iklIFaPwQLdD6jU1s39v47HL6Vxjo9+iM94U9gdR6wc=; b=LQ306iaeLAAvFw40uYxXtrjmW4/StYFT+swN8DEgc5aARp1lx2wIZZ1RYOnKw9Tewd /utp4EYymuSKzpswoSNCAb9HF1r01ueyngiQ8iDjKd8TJVgaMUIylcMX8zOkqryRmg24 wtNAmGqI3v8y5J3zIJGGjgFnXQfoho+NU0cA5WYqIgv+/PkNV/gxztBmUz1lRY009Wuf /s2qxDF1KQXhui9RH7At05CbnliYpd1fwmRBcgk4jW1ocmG0lX68EQf2SAhVpPxzknwD 2sLz2i0a6m2ezUhx7Cb7sOZdVp8W6FePAiGlhj07l6QSknh+IJ9llcGSUqc8yyOQByzw I9xA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QqKkdFFA; spf=pass (google.com: domain of linux-kernel+bounces-14860-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14860-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ju16-20020a170903429000b001d0a3ab370asi20345991plb.326.2024.01.02.13.36.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 13:36:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14860-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QqKkdFFA; spf=pass (google.com: domain of linux-kernel+bounces-14860-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14860-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0A7C22842FD for ; Tue, 2 Jan 2024 21:36:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 005C8168B9; Tue, 2 Jan 2024 21:36:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QqKkdFFA" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1368F168A8 for ; Tue, 2 Jan 2024 21:36:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 18851C433C8; Tue, 2 Jan 2024 21:36:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704231363; bh=/Tu1p48wBPy7AOClCXdtk7/dL0MSgw0z7yEN8J+Cku0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QqKkdFFALloiFaEAuhXV1aBwSAZsCcKD7QJUO8cbq0kv13cqlGbluuoElFJDM6t0S xvh5cONP3FdeienmLwnS2r1T4DCCSpA7gOTYT5WcGqVsgCpHeIkz0lxlq0CZUVXlrX v5/hIyUgWs3zP7KPFYZX41lFl3kR3exFEgLHWtNV4FD+9ZOK5h4wQ7HKJINRMd6w2n N14JqlWKI4EAOAlTyK47w4AP1Wn6T6l1YGIrM0QFSPQVqkFSxoHVFCuLerTga/Nj6z IRd/Dj9N25AB0a4/iKHwTjJPgE4aILgZmYM0vMyYUmyVZivZFnAk2p3LFEjMAtZ3e+ 0yugzAe/9HOlg== Date: Tue, 2 Jan 2024 14:36:01 -0700 From: Keith Busch To: Daniel Wagner Cc: linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, Christoph Hellwig , Sagi Grimberg , James Smart , Hannes Reinecke Subject: Re: [PATCH v3 00/17] enable nvmet-fc for blktests Message-ID: References: <20231218153105.12717-1-dwagner@suse.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231218153105.12717-1-dwagner@suse.de> On Mon, Dec 18, 2023 at 04:30:48PM +0100, Daniel Wagner wrote: > Another update on getting nvmet-fc ready for blktests. The main change here is > that I tried make sense of the ref count taking in nvmet-fc. When running > blktests with the auto connect udev rule activated the additional connect > attempt etc made nvmet-fc explode and choke everywhere. After a lot of poking > and pondering I decided to change the rules who the ref counts are taken for the > ctrl, association, target port and host port. This made a big difference and I > am able to get blktests pass the tests. > > Also KASAN was reporting a lot of UAFs. There are still some problems left as I > can still observe hangers when running blktests in a loop for a while. But it > doesn't explode immediately so I consider this a win. > > Apropos KASAN, it still reports the problem from [1], so anyone who want to run > this series needs to revert ee6fdc5055e9 ("nvme-fc: fix race between error > recovery and creating association"). > > The first four patches are independent of the rest and could go in sooner. Applied patches 2-5 to nvme-6.8.