Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp372354imm; Thu, 31 May 2018 01:53:01 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJCsictvDRhSQGXrp94gy1EfGDRVYBglbah2HnOcQML0jp/lcRMoxcwiyfKWfT7GV6cNAlq X-Received: by 2002:a17:902:a711:: with SMTP id w17-v6mr6162908plq.292.1527756781826; Thu, 31 May 2018 01:53:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527756781; cv=none; d=google.com; s=arc-20160816; b=MDYei69ptGF5dDQBY2wOalgLiPPHbWJEudyo5/GtBx6e6yBTXmkxLPE4Pt+h44QASl EPBA4hY4UnqNWXM2Em0N58WuxxNrvDTM3GUNVga/2nFyafC25QuMNXxh8GopqgmuQ+ss ayiO0gLNOkYvtRL6lqF501yWOvSjkwYncfQCqSa3WoCjkfg+3PLuTgJ+uzMDH3ih9nHX sMyI2xJkzs0diHqF+MadEOnXSJG4RIbl/5t0M3sp3zrmQ0ZxUkBsZlWGqHR9TYzQb9AP NtXaF+r2QAj5dCwJN9Fz7XD0h/7dIMDSTGGlaggIZ6ygb31nyWhhgRWbZ1nPxx/XpXRm hLUA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=N6G3ZrdciHodKROMPxrsyKZQySnza3xzcjA+ZFn+EfM=; b=DIIq5cvXHthyvuiAZZnyPuJThkGHeLq4oaxZ7paT0wEuHcj2z+71/dmM5pXNfgBNiO t/IduIyoTTnU61mur6F4mX+jKUMx6+UITyZ1wU7bpJhpTpUwwiojnS0SVMtbavVIqvwd NcQPuXoyDecoTgMJJAGM+cPMT90qaAoinwViwHioiJRqrbUYhVGJQWP4qPy+pMwSDRcT fsrivv6nkgWg/EflBX74l86czJS/96FZj/dSweiFcMykl2MUgES6KM6H50126RUlaDJL r3dgZP25RjxD8P6rkxMrtnVr2epajyOHOp/Pya4TQlE1RBPM0tC/wyM3FuHXRuLQ6NFx wz6g== 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 l11-v6si27716289pgp.426.2018.05.31.01.52.47; Thu, 31 May 2018 01:53:01 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754149AbeEaIvl (ORCPT + 99 others); Thu, 31 May 2018 04:51:41 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:52583 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754040AbeEaIvf (ORCPT ); Thu, 31 May 2018 04:51:35 -0400 Received: by mail-wm0-f68.google.com with SMTP id 18-v6so46982230wml.2 for ; Thu, 31 May 2018 01:51:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=N6G3ZrdciHodKROMPxrsyKZQySnza3xzcjA+ZFn+EfM=; b=JypqMf5K3hazf3i8Z1uh7v9ScejawwewYF7aDBr+O7vfHJwRvV3VFP5c6rAtWjkBj8 bGhBj9G9d31YQVA3r9nLVqVg8zAJnNrBO+GYHV+uW9RwnLpudQqeMXwrE8amDxIdR4K8 WmHYXZyMyTUEU68tQFp4PpgoDSnZQjgPvPsxHWcMkoDYrCcrCKcNfc4sBX4/xh9rgmlv S+ZLuN+kqbYeuKCFJLQ6cyLUFV+fQqG67zIB/T27HzNAhaJfLcQls+lIB2B+9DDUkVUO 4LOJ8G63xUrdBg15/rNtwLNndCe20kxJqAWLtWTSLSI1ENY+Ag6cVjFBxvNn/JFrfXHT rpYQ== X-Gm-Message-State: ALKqPwe4SChXGLUiKObeJILaZfQyz8E+S0WoMtDfiYzwBoS6i+uBq3Mn FoFNoLxQqQ9NU/CvxwoEl4A= X-Received: by 2002:a1c:6fce:: with SMTP id c75-v6mr3563508wmi.83.1527756694818; Thu, 31 May 2018 01:51:34 -0700 (PDT) Received: from [192.168.64.169] (bzq-219-42-90.isdn.bezeqint.net. [62.219.42.90]) by smtp.gmail.com with ESMTPSA id s2-v6sm15458711wrn.75.2018.05.31.01.51.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 May 2018 01:51:34 -0700 (PDT) Subject: Re: [PATCH 0/3] Provide more fine grained control over multipathing To: Mike Snitzer 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 References: <20180525125322.15398-1-jthumshirn@suse.de> <20180525130535.GA24239@lst.de> <20180525135813.GB9591@redhat.com> <20180530224402.GA7303@redhat.com> From: Sagi Grimberg Message-ID: Date: Thu, 31 May 2018 11:51:31 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180530224402.GA7303@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> 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?)