Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp563891imm; Thu, 31 May 2018 05:42:11 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJfSre8Eawl1YSfxCyQW885JvrWY+3kkqmB+kkGmwfYUcbJLxk+7MqAD+KQns/R/1CvMSM5 X-Received: by 2002:a63:7a4a:: with SMTP id j10-v6mr5497168pgn.421.1527770531164; Thu, 31 May 2018 05:42:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527770531; cv=none; d=google.com; s=arc-20160816; b=FyfRC9DCiUwYBLBlRAnVY/HCPYZzH3kqZJ5jjEhFCyyuhnR2d8yahZiOHat0k9qif3 v1R88uZ/t+94fhpmx2qk5YXsGtC6Xz3SKKBOnIQ8OI77PYqy9IpEcJDaOZDv9JgGEKXZ M7m7WBE4a/taY4lBiOzGIOTJnkgdLOj7XnInXYl48IxmXx9e6kFOfHPPXG2FkoWhqw6N iLhaSIXjd33S8Kzva0AGaH7S7Yi8Xr7jkSTOLhIEuf8WNu/aBYkU8LxHGBbPWXDH/A8y Wh3GLyEW7GAJeUWdg4LN4E4fzaQD7jajjzwczHebF0zoLgB8ew2L4mH0OvSZCvsdnDHh bW0w== 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=nQ7E24VwsQMaZOUcJUQixV5IoUW1DDHKdezn1GDmav8=; b=Q4bYPircz96jk2nADWEQdcTlL93YPGWfJuRVKiUgAycCOG0PrU+BgajIuPmx/rPNYX ukG9gyi3YXCGT52A8e1AICJcTFvPeJWkgQkpB11FLaAQpuN88dvkTfvJ7R0uPSpxyo/C HsnZDJMDCsTTEOIxUyhxnCZkYG3xgaJ4GHR4GMKL3KZFjhokhTX0SLAgw2DdVC6Wq8ri iDox4cwtTqmgaWzftP4k1sCs+zHw/PsOsCSfA1UNDxnld4zJi2T5aHms9mn1P+1TFcAq +Cgez4Ei10vut6FxoUBmpMDBjh92I3uFWrHo9S+29YhW6098KSQkwL7UOf7MmG+XSUXc Anmg== 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 n10-v6si139615pgs.485.2018.05.31.05.41.56; Thu, 31 May 2018 05:42:11 -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 S1754991AbeEaMlH (ORCPT + 99 others); Thu, 31 May 2018 08:41:07 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:59050 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754197AbeEaMlE (ORCPT ); Thu, 31 May 2018 08:41:04 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BDA9784257; Thu, 31 May 2018 12:41:03 +0000 (UTC) Received: from localhost (unknown [10.18.25.149]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9572B1134CA1; Thu, 31 May 2018 12:41:03 +0000 (UTC) Date: Thu, 31 May 2018 08:41:03 -0400 From: Mike Snitzer To: Sagi Grimberg Cc: Christoph Hellwig , Johannes Thumshirn , Keith Busch , Hannes Reinecke , Laurence Oberman , Ewan Milne , James Smart , Linux Kernel Mailinglist , Linux NVMe Mailinglist , "Martin K . Petersen" , Martin George , John Meneghini Subject: Re: [PATCH 0/3] Provide more fine grained control over multipathing Message-ID: <20180531124102.GB10552@redhat.com> References: <20180525125322.15398-1-jthumshirn@suse.de> <20180525130535.GA24239@lst.de> <20180525135813.GB9591@redhat.com> <20180530224402.GA7303@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Thu, 31 May 2018 12:41:03 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Thu, 31 May 2018 12:41:03 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.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 Thu, May 31 2018 at 4:51am -0400, Sagi Grimberg wrote: > > >>Moreover, I also wanted to point out that fabrics array vendors are > >>building products that rely on standard nvme multipathing (and probably > >>multipathing over dispersed namespaces as well), and keeping a knob that > >>will keep nvme users with dm-multipath will probably not help them > >>educate their customers as well... So there is another angle to this. > > > >Noticed I didn't respond directly to this aspect. As I explained in > >various replies to this thread: The users/admins would be the ones who > >would decide to use dm-multipath. It wouldn't be something that'd be > >imposed by default. If anything, the all-or-nothing > >nvme_core.multipath=N would pose a much more serious concern for these > >array vendors that do have designs to specifically leverage native NVMe > >multipath. Because if users were to get into the habit of setting that > >on the kernel commandline they'd literally _never_ be able to leverage > >native NVMe multipathing. > > > >We can also add multipath.conf docs (man page, etc) that caution admins > >to consult their array vendors about whether using dm-multipath is to be > >avoided, etc. > > > >Again, this is opt-in, so on a upstream Linux kernel level the default > >of enabling native NVMe multipath stands (provided CONFIG_NVME_MULTIPATH > >is configured). Not seeing why there is so much angst and concern about > >offering this flexibility via opt-in but I'm also glad we're having this > >discussion to have our eyes wide open. > > I think that the concern is valid and should not be dismissed. And > at times flexibility is a real source of pain, both to users and > developers. > > The choice is there, no one is forbidden to use multipath. I'm just > still not sure exactly why the subsystem granularity is an absolute > must other than a volume exposed as a nvmf namespace and scsi lun (how > would dm-multipath detect this is the same device btw?) Please see my other reply, I was talking about completely disjoint arrays in my hypothetical config where having the ability to allow simultaneous use of native NVMe multipath and dm-multipath is meaningful. Mike