Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp872185imu; Fri, 16 Nov 2018 11:36:06 -0800 (PST) X-Google-Smtp-Source: AJdET5f7cRE2Pjjr082c5DAfmaq41zaJkuI+P0X9Q8ImQ6RewFkF7KhpIIikmgumU+dcjE2ugW9V X-Received: by 2002:a17:902:b7c7:: with SMTP id v7mr5279440plz.75.1542396965997; Fri, 16 Nov 2018 11:36:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542396965; cv=none; d=google.com; s=arc-20160816; b=I92MjGVwc4CvGayrXapd3mAldyhb+qR6Qgni3Bob+MCK97nVRPMV8oq/V+t8Fjc6YF +DusxiAiM/poMT2blNwykRNewJaFhlKVvYUZfY+JGLTIzVdAUAKea1fvFy6nUJr31SY0 kTs/dgVCT7mSmkbjm24fQj1S6+Y003qJzOc3F6YRP456x3SlLouRnxLVri/vBl6kSt7b KDN9dof3z56/r22I+jBfaLj9BVulrjxq5EQchbEuD3D7goMmOi781Fn+2wueAgzlBUep KPTB/96WPFPu2xnDh1i0pSw8vmWQE3A6EoRlxInnRLEVWmPvij05558fGDV3oZX5HfJj mSzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=IOtEFpEdjKwaEXSmXcxt+p6fCgeSQ1hDVb3Y84k1obg=; b=A5HYHcZPtuqxZZkeIeisXEOWjQI/z9YKf0qRHYF4hANEG9u9vM9VWhnOIP3ZTO0ivq /TRIT3TvTWsBuVKuy282vO+hObVS7WwTD64ZBEGSmME/CCMxQzcpHQodc1wrEgL5Yftj sg048X8bTb8CB1u58YN9sopmw2YbHCNoxDpL9ux+ZyGAcIeGu1fpFHDpFCxdcatvG21g P077De/89jG6kGp9tB9yueEx8vP+tikIg3XClRhXpmUIyjRXP3gLIc3i4kw9/OL+EZTo /tcrFs8Cqh8syuLUryKE1mY8t9+t3wxUWN0V0UZO95zSGVvz8E1AbO1h9aKHeMZcpsy9 G10w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y6-v6si33433257pfy.29.2018.11.16.11.35.50; Fri, 16 Nov 2018 11:36:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726529AbeKQFsM (ORCPT + 99 others); Sat, 17 Nov 2018 00:48:12 -0500 Received: from mail-qk1-f181.google.com ([209.85.222.181]:43002 "EHLO mail-qk1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725763AbeKQFsL (ORCPT ); Sat, 17 Nov 2018 00:48:11 -0500 Received: by mail-qk1-f181.google.com with SMTP id m5so39271163qka.9 for ; Fri, 16 Nov 2018 11:34:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=IOtEFpEdjKwaEXSmXcxt+p6fCgeSQ1hDVb3Y84k1obg=; b=hMcf+ZQHvtllY+4TSkvMLmizwAy9xkH3fsygV9gFD+/Wt4uUIH9MXqs/sL5t9zkp3r wx0b3BlIJ50g2q/hZLs0jDnyuuqsZzhJvWSbGyw4jWfo9pdb+Pyk6YTy464ghnRCUJ4O Phiu+IpJjPS86CukRzCvtQ+f9BhUMdrbUS+tu+MiPR2xpKvQ3rMXvo0c3fP/gQ3CpTV0 ++z+05NK33+E0++mOkFpegi4QNNTSA7onF4No4OwCBOxUveFSjaRt4wgy3Ag8wCBp7Ts xsH5Cw4Asnz80Vn5+1+8WCvbBFfbTPsuQsHPtx2LQ5hKHXZgH2CyVPugjjiCtFYw7l0L 6Ndw== X-Gm-Message-State: AGRZ1gKf5NNIELMM+MO+UBA3oVwiaYDwEwUNuCgMtzCjlFa2+iDU08PS VWQWyMIHEMuhT0jSbdRAB5m84Q== X-Received: by 2002:a0c:8a54:: with SMTP id 20mr11612884qvu.94.1542396869066; Fri, 16 Nov 2018 11:34:29 -0800 (PST) Received: from loberhel74 (174-083-000-020.dhcp.chtrptr.net. [174.83.0.20]) by smtp.gmail.com with ESMTPSA id b6sm14324474qtq.29.2018.11.16.11.34.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Nov 2018 11:34:28 -0800 (PST) Message-ID: <1542396866.13202.0.camel@redhat.com> Subject: Re: nvme: allow ANA support to be independent of native multipathing From: Laurence Oberman To: Mike Snitzer , Christoph Hellwig Cc: Hannes Reinecke , linux-nvme@lists.infradead.org, Keith Busch , Sagi Grimberg , axboe@kernel.dk, Martin Wilck , lijie , xose.vazquez@gmail.com, chengjike.cheng@huawei.com, shenhong09@huawei.com, dm-devel@redhat.com, wangzhoumengjian@huawei.com, christophe.varoqui@opensvc.com, bmarzins@redhat.com, sschremm@netapp.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Date: Fri, 16 Nov 2018 14:34:26 -0500 In-Reply-To: <20181116192802.GA30057@redhat.com> References: <20181114053837.GA15086@redhat.com> <30cf7af7-8826-55bd-e39a-4f81ed032f6d@suse.de> <20181114174746.GA18526@redhat.com> <87c931e5-4ac9-1795-8d40-cc5541d3ebcf@suse.de> <20181115174605.GA19782@redhat.com> <20181116091458.GA17267@lst.de> <37098edd-4dea-b58f-bca6-3be9af8ec4ee@suse.de> <20181116094947.GA19296@lst.de> <20181116101752.GA21531@lst.de> <20181116192802.GA30057@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6 (3.22.6-10.el7) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-11-16 at 14:28 -0500, Mike Snitzer wrote: > On Fri, Nov 16 2018 at  5:17am -0500, > Christoph Hellwig wrote: > > > On Fri, Nov 16, 2018 at 11:06:32AM +0100, Hannes Reinecke wrote: > > > Ok, so would you be happy with making ANA support configurable? > > > > I've looked a bit over the whole situation, and what I think we > > need > > to do is: > > > >  a) warn if we see a ANA capable device without multipath support > >     so people know it is not going to work properly. > > I disagree with your cynicism but v2 of this patch now emits a > warning > accordingly. > > >  b) deprecate the multipath module option.  It was only intended as > >     a migration for any pre-existing PCIe multipath user if there > >     were any, not to support any new functionality.  So for 4.20 > >     put in a patch that prints a clear warning when it is used, > >     including a link to the nvme list, and then for 4.25 or so > >     remove it entirely unless something unexpected come up. > > You rejected the idea of allowing fine-grained control over whether > native NVMe multipathing is enabled or not on a per-namespace basis. > All we have is the coarse-grained nvme_core.multipath=N knob.  Now > you're forecasting removing even that.  Please don't do that. > > > This whole drama of optional multipath use has wasted way too much > > of everyones time already. > > It has wasted _way_ too much time. > > But the drama is born out of you rejecting that we need to preserve > multipath-tools and dm-multipath's ability to work across any > transport.  You don't need to do that work: Hannes, myself and others > have always been willing and able -- if you'd let us. > > IIRC it was at 2016's LSF in Boston where Ewan Milne and I had a > face-to-face conversation with you in the hallway track where you > agreed > that ANA support would be activated if the capability was advertised > by > the target.  The model we discussed is that it would be comparable to > how ALUA gets enabled during SCSI LUN discovery. > > I hope you can see your way forward to be more accommodating now. > Especially given the proposed changes are backed by NVMe standards. > > Please, PLEASE take v2 of this patch.. please? ;) > > Thanks, > Mike I am begging you take it too please Thanks Laurence