Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3603262imm; Mon, 4 Jun 2018 06:28:29 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJy6qY0wUiOoKkopsZTDKXl6L9ksUrhuYZYAO4el61TEa61dOuWikwTpBt0tjPYaXp/rQcC X-Received: by 2002:a62:9f16:: with SMTP id g22-v6mr15687288pfe.207.1528118909474; Mon, 04 Jun 2018 06:28:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528118909; cv=none; d=google.com; s=arc-20160816; b=QWSfnxXdHrh5TVw6pGzS0hRMeglX6MlYMcoUkGtLZDGlxeD50PUBb+dFvZ4Y38GoKh 5Nb2TiXWSFBWY9CxRl+hrLRgN6ZHLIE4Tu5VUSU75l+6QVyPp2kHV0fX8BD5YE9jr5rH FjjOVgqkGVGN91AT4HiMzYZMPwjhoQtjhPqFhoeiElTq4KVtn7N//otQGn/Q1SiltL47 oqK3anEETIXYbHiIHViwr4EzK98ib9cwnlkCjgMsTFgNGiVg039ry69cXeqZMlJWvHLh ei8yjYvxXvPHlPwn7oLLNhrELilOKzy8evNdU3qmnU8l5DvSiWlMsas2WBdKN14n0Lb/ mdmA== 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:arc-authentication-results; bh=mgnVtimkduYNx/NlJySxBEgZBMBWG9YXHqsSnqi8+X0=; b=ur/ZqWJBBlUNC7HcTjMoRSzCexPywlvKjwLZspqKa5kEZd+AbeQjYVp3WJKH4SOxS5 4+QXlfmntf3oi3BrVaAl5i+tzHQYB09GQZqB2c7Ldwkmzi6SPvf7Z8QAjyOwjT4DIcUy KCgWwCFVgtL0qMDrtSQ7yH40IO2zE5kHBKNP0A2xiE6tN/MaXoB6DFUeTmuwV/uaEU8R auhkBMHaraVzsGeQkiTK6pA8INOR0YYUYipGurMvQK8h9WGYQhTeYA+2SIa9Xeezq9Sg jpXZMA7dBq8n/+w8D1hu22kClEPuLvTRSkcybUeWSU332Z0CUaxlXjdsDDg5pNL9vfvs 3hDg== 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 o1-v6si36837615pgp.273.2018.06.04.06.28.14; Mon, 04 Jun 2018 06:28:29 -0700 (PDT) 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 S1753114AbeFDN1g (ORCPT + 99 others); Mon, 4 Jun 2018 09:27:36 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:59426 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752429AbeFDN1f (ORCPT ); Mon, 4 Jun 2018 09:27:35 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F3433BD9E; Mon, 4 Jun 2018 13:27:34 +0000 (UTC) Received: from localhost (unknown [10.18.25.149]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 038441D088; Mon, 4 Jun 2018 13:27:32 +0000 (UTC) Date: Mon, 4 Jun 2018 09:27:31 -0400 From: Mike Snitzer To: Christoph Hellwig Cc: Johannes Thumshirn , Hannes Reinecke , Jens Axboe , Linus Torvalds , "Martin K. Petersen" , Linux NVMe Mailinglist , Laurence Oberman , Sagi Grimberg , James Smart , Ewan Milne , Linux Kernel Mailinglist , Keith Busch , Martin George , John Meneghini , dm-devel@redhat.com, mwilck@suse.de, Benjamin Marzinski Subject: Re: [PATCH 0/3] Provide more fine grained control over multipathing Message-ID: <20180604132731.GA31515@redhat.com> References: <20180525145056.GD9591@redhat.com> <20180529030236.GA28895@redhat.com> <20180529072240.np5c62akbr7jqelr@linux-x5ow.site> <20180529080952.GA1369@lst.de> <20180529232718.GA1730@redhat.com> <20180604081921.3cedecbc@pentland.suse.de> <20180604071829.tq7wmx4bvk4uzubd@linux-x5ow.site> <20180604125918.GC30945@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180604125918.GC30945@lst.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Mon, 04 Jun 2018 13:27:35 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Mon, 04 Jun 2018 13:27:35 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'msnitzer@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 04 2018 at 8:59am -0400, Christoph Hellwig wrote: > On Mon, Jun 04, 2018 at 09:18:29AM +0200, Johannes Thumshirn wrote: > > What we really should do is, try to give multipath-tools a 'nvme > > list-subsys' like view of nvme native multipathing (and I think Martin > > W. has already been looking into this a while ago). > > Which has been merged into multipath-tools a while ago: > > https://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=commit;h=86553b57b6bd55e0355ac27ae100cce6cc42bee3 And this is what I heard from Ben Marzinski last week: Yeah. Things like multipath -l multipathd show maps multipathd show paths are supported. There is no support for the individual "show map" and "show path" commands. Those only work on dm devices. There is also no json formatting option for the foreign devices, but that could be added. And probably will need to be, since people like RHEV really want to use the library interface to multipathd with json formatted output. Although if there are no dm multipath devices, there is no point to running multipathd, so it might be worthwhile thinking about a library interface to getting the information directly, instead of through multipathd. That's a bigger rewrite.