Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp248083imu; Fri, 16 Nov 2018 01:50:43 -0800 (PST) X-Google-Smtp-Source: AJdET5cBSUBNldHeoCMVkcLcoYsE4C15Q6xsQF/C686GVkVeTFa0xBdOFIo3q4CdOxD4NdZCwCUW X-Received: by 2002:a17:902:7a2:: with SMTP id 31-v6mr9923841plj.277.1542361843364; Fri, 16 Nov 2018 01:50:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542361843; cv=none; d=google.com; s=arc-20160816; b=u7DmpPZW0H8PXLHL/ToArapUWGu9XfnznrbN6GoMhvHSze78KUI6aqXQyrKlnS1GpX 6plm9/c2XVUF6DlPqPXhE6KXoO7kwfAL9P3uhv/h5fIKxt9a+kia35A+u1lojHKMMn/8 PdVh/+UIMroFBIUdurtgGSsH/Z5hrrC3TTfGXV1n+ZWUCG5aYRl5oRj8q7fK3LarOIdo 4ajMCx5Cg1Kh3xNj/q/sP14q+37cQPhWn8ENovmlLfmG/CiRnwaHw9+maO08ap1NBMuQ z1lusWGdhDgk2Dq89IdSRFxSkeHrP+rg37jqkGM3ZZWLGrt6OkyQsCM41HMHfavPEtNQ CP6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Y01pUB5QqCN0SYAHacky6Kp1+e16b/zFNc3e+FMMm1U=; b=zpW9wVns1QUlzk4WMIHpn9vwzUc0w8FJxx7KoHSdxa2UUwhwYKM7GuCYWteUC4+wqc J/cNGaA9rhyFRCqPmJnOsT7uxknB8u7d+ah3Y2gX1F5LdRyYavuq1QQ3TtNFx5m3p87X 1vnulFA9MvERFX2JmRQ/qTO+8AfKROTJdkE1SoIZsAkwbhVrwA7zDQxkR5shKaP7rYlO j7/Sm45Qz94fBL+czTdi98a4e33XeTURMOJr2dbE082HGoosxoUWryf9sJjxF5ItcVOa /m1lJOWAETlCdFRLYH29u4oM8r1/pu5ol4nlxZT/YP4BcJrq7S9OBdoezfOnnp74atyE Vehw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 11si29434979pgy.408.2018.11.16.01.50.29; Fri, 16 Nov 2018 01:50:43 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389398AbeKPUBY (ORCPT + 99 others); Fri, 16 Nov 2018 15:01:24 -0500 Received: from verein.lst.de ([213.95.11.211]:48408 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727442AbeKPUBY (ORCPT ); Fri, 16 Nov 2018 15:01:24 -0500 Received: by newverein.lst.de (Postfix, from userid 2407) id E3C6B68D60; Fri, 16 Nov 2018 10:49:47 +0100 (CET) Date: Fri, 16 Nov 2018 10:49:47 +0100 From: Christoph Hellwig To: Hannes Reinecke Cc: Christoph Hellwig , Mike Snitzer , 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 Subject: Re: [PATCH] nvme: allow ANA support to be independent of native multipathing Message-ID: <20181116094947.GA19296@lst.de> References: <20181112215323.GA7983@redhat.com> <20181113161838.GC9827@localhost.localdomain> <20181113180008.GA12513@redhat.com> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <37098edd-4dea-b58f-bca6-3be9af8ec4ee@suse.de> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 16, 2018 at 10:40:40AM +0100, Hannes Reinecke wrote: >>> Introduce ability to always re-read ANA log page as required due to ANA >>> error and make current ANA state available via sysfs -- even if native >>> multipathing is disabled on the host (e.g. nvme_core.multipath=N). >> >> The first part I could see, but I still want to make it conditional >> in some way as nvme is going into deeply embedded setups, and I don't >> want to carry the weight of the ANA code around for everyone. >> > Can you clarify this a bit? > We _do_ have the NVME multipath config option to deconfigure the whole > thing during compile time; that isn't influenced with this patch. > So are you worried about the size of the ANA implementation itself? > Or are you worried about the size of the ANA structures? I just see the next step of wanting to move ANA code into the core which is implied above. > >> The second I fundamentally disagree with. And even if you found agreement >> it would have to be in a separate patch as it is a separate feature. >> > Why? Where's the problem with re-reading the ANA log pages if we get an > event indicating that we should? "second" here means the sysfs file.