Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp819257pxv; Fri, 9 Jul 2021 09:44:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqo8guRTbloMm2lDnxj4pEbVWDa9uE9bLFmPRoOqOkwijlerM2r0/00ldypCiBeAZd14pT X-Received: by 2002:a5d:8488:: with SMTP id t8mr29452047iom.104.1625849045631; Fri, 09 Jul 2021 09:44:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625849045; cv=none; d=google.com; s=arc-20160816; b=YnnOAcF5+NM+FsHyuicX5LpHg3KUtWqLGbMlnL83LuSAw00utuAw/IF4Phh8N981iC qGgqpf68R4CWZn61q1fC5Q2QRFHZtx0a6Tcjb6k33gTfarRoOC1KZWnt8qOQWSqwr8Cq R0D/RwcD4HoLjgwNNJA5m8ojfaTDn7g9RCZqteAoBwpcyXjjmF9hWnCuY0/iiADApuLp Q22qLqsjCm2qOCMsGnHh+vEJOhxTJTb9d20i0pGC3EuRR2rljCS/PqIb9vTNcvi3So0L lHkjtg64MBo0nVcouuwJg71ErgJJVSysjYUT+ZsAOLyPVN3C4QlVX1On0YGxtq3FQ4/c wo6w== 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=2GqMGaeS7pORjjou7yseLa8mm5Ypx7LyOSQJgsBCm4c=; b=ZM4P6UpDyibCFvYJxjtwxfBZGhIgo5/IZsGkrpDetUMK7paGlD2nvDoj+6NlIP5Q4R RdCEXZ0/1+JnlswoLOY/wI8mEDWhcoMhvphc2mxAA891J8RYgicHtsBIMpHmIhM52fXu DW6lkCQFXEV9H7hoM9GKmBgPdZVQf5ISQhNvV4roxUmhKgHvCpANbGH8ni7hOGDwY5is X0VNnWEZBDs1+3lzNOtfoLbYgcM6iadzm/oPt0nED2yZLNPIL1l2T+zu36M0yQ+CsF/u q6bQAE+JZU17BG/KDvK4wP2JaRMIMEZeu0xOz8xjgSPWFCdpi9b25zms52cuBuV1zxBD mD+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=AwMFv4Jl; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s9si8041797iow.41.2021.07.09.09.43.53; Fri, 09 Jul 2021 09:44:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=AwMFv4Jl; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229669AbhGIQpn (ORCPT + 99 others); Fri, 9 Jul 2021 12:45:43 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:59752 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbhGIQpn (ORCPT ); Fri, 9 Jul 2021 12:45:43 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 94C0822329; Fri, 9 Jul 2021 16:42:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1625848978; 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=2GqMGaeS7pORjjou7yseLa8mm5Ypx7LyOSQJgsBCm4c=; b=AwMFv4Jl+bcWd9Xaa/+25xWXOMrQ3RMDLYQ8rZGrMYXOS0hpxj8qyOjter2LAqPdwzj4rr BmkgM9p35ZPIACyax/m7J90oCQPjhzlmkcelLlKf2ITsWdzHeYAZaHs8Zb+pZrd5dSkPAX 3t3AlPsl6Z6xvngGIR30fxNGd9okvio= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1625848978; 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=2GqMGaeS7pORjjou7yseLa8mm5Ypx7LyOSQJgsBCm4c=; b=xQWc6hy5FIe7GG7mws6bWprl9NKG3d7M+l1cH0JqxpMWYdQYhG2L15gZDX5CbasBVxtvgj 523ocLsybbmxZeDw== Received: from localhost (unknown [10.163.25.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id B4D1CA3B9B; Fri, 9 Jul 2021 16:42:57 +0000 (UTC) Date: Fri, 9 Jul 2021 18:42:57 +0200 From: Daniel Wagner To: James Smart Cc: linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, James Smart , Keith Busch , Jens Axboe , Ming Lei , Sagi Grimberg Subject: Re: [PATCH v2 5/5] nvme-fc: Freeze queues before destroying them Message-ID: <20210709164257.hzbxrbgjnnooidqe@beryllium.lan> References: <20210708092755.15660-1-dwagner@suse.de> <20210708092755.15660-6-dwagner@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi James, On Fri, Jul 09, 2021 at 09:14:07AM -0700, James Smart wrote: > Thanks for the note. that definitely helped follow what is being attempted. > I also agree with Hannes that the comment from the rdma patch should also be > present to understand what's going on. Sure will do. Though this has to wait until I am back from holiday though :) > Looking at the patch - this is not done in the same place or manner as rdma. > Freezing and stoppage is prior to cancelling and that doesn't correspond > where this was added (this is after all cancellations). We also seem to be > missing a nvme_sync_io_queues() call in the sequence as well. So I believe > there's more work to be done on this patch. I'll see what I can do. Thanks! > We really need to see about a common layer for transports. So much we do is > similar. We were ok at the start, but we've drifted apart over time and the > requirements to the core layer aren't propogating to all transports. Yes, makes a lot of sense to me to sync the transports implementation a bit more. Thanks, Daniel