Return-Path: Subject: Re: [PATCH 5/7] nvme: also expose the namespace identification sysfs files for mpath nodes To: Christoph Hellwig , Keith Busch , Sagi Grimberg Cc: Jens Axboe , Johannes Thumshirn , linux-nvme@lists.infradead.org, linux-block@vger.kernel.org References: <20171109174450.17142-1-hch@lst.de> <20171109174450.17142-6-hch@lst.de> From: Hannes Reinecke Message-ID: <3d24b1ad-5fee-ee4b-8518-a040c1b39006@suse.de> Date: Fri, 10 Nov 2017 09:21:20 +0100 MIME-Version: 1.0 In-Reply-To: <20171109174450.17142-6-hch@lst.de> Content-Type: text/plain; charset=utf-8 List-ID: On 11/09/2017 06:44 PM, Christoph Hellwig wrote: > We do this by adding a helper that returns the ns_head for a device that > can belong to either the per-controller or per-subsystem block device > nodes, and otherwise reuse all the existing code. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Keith Busch > Reviewed-by: Sagi Grimberg > Reviewed-by: Johannes Thumshirn > --- > drivers/nvme/host/core.c | 57 +++++++++++++++++++++++-------------------- > drivers/nvme/host/multipath.c | 6 +++++ > drivers/nvme/host/nvme.h | 1 + > 3 files changed, 38 insertions(+), 26 deletions(-) > In principle, yes, but I would like to have some more info (like subsysnqn, and maybe 'model' etc) in the subsys sysfs entry, too. But this can be handled in a later patch, so: Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)