Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp897608imm; Thu, 31 May 2018 11:18:47 -0700 (PDT) X-Google-Smtp-Source: ADUXVKISFFH6FT2l62WGzI6qode8j5HG8o9IuB+s9cLm+T4T5rjDdD9qCJmE/513HktUBVWQcsy9 X-Received: by 2002:a62:230b:: with SMTP id j11-v6mr7732261pfj.177.1527790727243; Thu, 31 May 2018 11:18:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527790727; cv=none; d=google.com; s=arc-20160816; b=D/hEZgF511YjcNW4+sAyP5gzuVM7mhzSSCH0E3Swg7mWABCM2v3Ug9FKpxG0K1xap9 jr+0XPukiUe8J0lTZ7XaChbTKNqknZMzxEAV4AN4sojtL3sm1UJbHxuRQyeJV5pjAFaq /EaP5eDV4SP34bkVI9TF7cxeY7sIys94ZWRT5clNwrXtizpJYz7Dte8GOEaH0gonZCQg ECx506XNkvMG3iYY7axUo5D+cCft5k2wGLllfqcWAcVtX+JvgbIQazSftl5UHZSD0ZAu XMKp66F4+uCHODRS7VRUKhnm4Szff9uZxVdafrZ2JRghj9pXmlXw1hR0mvuhKDIDT4ul 1wYA== 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=uDzmAZYhgZ7qqHVl0dzfo0tYl0x5FoWTf4MdpfKb3MM=; b=x/TWwSsdY3GBaTEffJLGZwe/yAh2AjI1eltTKyx9x4jdmw7m/XOUkueYti8/qxrzV8 XsIVAnOZ/Mw4ngQ3faB4cYS4Zi/s5J5wuHlV6SxpPIV6NJ/8rjK/hbbO64+UJ04022Ta cLET5ohi6bDeVdpRV8BRwP/GOLFzAtTpRXitlsNiLp5J0lkAdHuAA6UDUUtdsNtzAITb XIcR2hi/BvefBlCLH3rPmqCM67YitqGDWEkJndFneYtAq/4vxjZ2FjFOcbBQ1dyIFfX1 Qn+ZkaZBMKUDSVAgYtYGFotuWATR25pXMpQICM4X2J6+hBo7eliFU0VUZDM0gXUsaHng eEJg== 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 f6-v6si11633030plm.448.2018.05.31.11.18.33; Thu, 31 May 2018 11:18:47 -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 S1755934AbeEaSSA (ORCPT + 99 others); Thu, 31 May 2018 14:18:00 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:40042 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755848AbeEaSR7 (ORCPT ); Thu, 31 May 2018 14:17:59 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 34147406F619; Thu, 31 May 2018 18:17:59 +0000 (UTC) Received: from localhost (unknown [10.18.25.149]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E00F12026609; Thu, 31 May 2018 18:17:57 +0000 (UTC) Date: Thu, 31 May 2018 14:17:57 -0400 From: Mike Snitzer To: Christoph Hellwig Cc: Sagi Grimberg , 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 , axboe@kernel.dk Subject: Re: [PATCH 0/3] Provide more fine grained control over multipathing Message-ID: <20180531181757.GB11848@redhat.com> References: <20180525125322.15398-1-jthumshirn@suse.de> <20180525130535.GA24239@lst.de> <20180525135813.GB9591@redhat.com> <20180530220206.GA7037@redhat.com> <20180531163311.GA30954@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180531163311.GA30954@lst.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Thu, 31 May 2018 18:17:59 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Thu, 31 May 2018 18:17:59 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.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 12:33pm -0400, Christoph Hellwig wrote: > On Wed, May 30, 2018 at 06:02:06PM -0400, Mike Snitzer wrote: > > Because once nvme_core.multipath=N is set: native NVMe multipath is then > > not accessible from the same host. The goal of this patchset is to give > > users choice. But not limit them to _only_ using dm-multipath if they > > just have some legacy needs. > > Choise by itself really isn't an argument. We need a really good > use case for all the complexity, and so far none has been presented. OK, but its choice that is governed by higher level requirements that _I_ personally don't have. They are large datacenter deployments like Hannes eluded to [1] where there is heavy automation and/or layered products that are developed around dm-multipath (via libraries to access multipath-tools provided info, etc). So trying to pin me down on _why_ users elect to make this choice (or that there is such annoying inertia behind their choice) really isn't fair TBH. They exist. Please just accept that. Now another hypothetical usecase I thought of today, that really drives home _why_ it useful to have this fine-grained 'mpath_personality' flexibility is: admin containers. (not saying people or companies currently, or plan to, do this but they very easily could...): 1) container A is tasked with managing some dedicated NVMe technology that absolutely needs native NVMe multipath. 2) container B is tasked with offering some canned layered product that was developed ontop of dm-multipath with its own multipath-tools oriented APIs, etc. And it is to manage some other NVMe technology on the same host as container A. So, containers with conflicting requirements running on the same host. Now you can say: sorry don't do that. But that really isn't a valid counter. Point is it really is meaningful to offer this 'mpath_personality' switch. I'm obviously hopeful for it to not be heavily used BUT not providing the ability for native NVMe multipath and dm-multipath to coexist on the same Linux host really isn't viable in the near-term. Mike [1] https://lkml.org/lkml/2018/5/29/95