Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4835428imm; Wed, 30 May 2018 13:00:54 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKvTGdkRjzDc/50oYv0xlZHhkKLblsU13i5KzJ7MLCO4e9M2toRHOMBQGY6dcpuVzEL+uKj X-Received: by 2002:a17:902:5a1:: with SMTP id f30-v6mr4052927plf.167.1527710454537; Wed, 30 May 2018 13:00:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527710454; cv=none; d=google.com; s=arc-20160816; b=WghkidGiQi4ZV9dp3V0USiYrbf8jiRM0PoxjfJ7pYjNx7XymRKDoa6gB98IlPVSmgu UWbuPuzOW6+b+zmtzEm12W7C11jrMJEz9dob/mO1dIsTJpvYgq4oR6G3G9Qo07FSzmMT VrNNmwyY0WBm9MtQhSaUXsahojO2/zHbQW0vR9Aw85YyL1a21/ZZt+DXqz2hmEfbtbLd GaFUkC3dccQYIn57fI+qu8Pk7FAhJsY429AhpEGv7uJO+69Qz8aMdVF2WmPx5BuPNK+d nHSfo+1W6XC2Ve6tnLepZMjqMcFftS0afF/ts8mtBN1g2twjymYiK8TvTe40LdOcthN1 tFzQ== 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=XOjPOozCrMN3Io+MmybqvxJKlibdgfnW77/8s3/xkYI=; b=ysawPUZnwrp+TzixMJtQF8rMEGy/16OK8S4BTSO1KdOvJf8yoplYf4t/SE1Ox3cNMt Xjg90Mz/cyf6xbhvhT8aQezAWmJ12l4ATDr38FhmohL+Y64HQ3fZ0KOH3/BjlRM2eQct RNt0we8b0tRd6/HurciGTBB7seyR+FAIAuEvMI9Ti4pwJKDTRYWUATWXsF/N/PR8T75k oSidPN56kBorSc01OzSPFYxsHpoPTiLPS5rS2HWxQILQ4GXoGQxe8hXJbnbUw4cR402L JZmsb1ttRnWzoJWLZksE0ixWPvUZDJf59fScLcfDlcp399Y/x8cQqr6ekBgdJt02X91a ABtQ== 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 g13-v6si10971715pgq.124.2018.05.30.13.00.39; Wed, 30 May 2018 13:00:54 -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 S932218AbeE3T7r (ORCPT + 99 others); Wed, 30 May 2018 15:59:47 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:48674 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932154AbeE3T7q (ORCPT ); Wed, 30 May 2018 15:59:46 -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 CF1F2818BAFC; Wed, 30 May 2018 19:59:45 +0000 (UTC) Received: from localhost (unknown [10.18.25.149]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 23E31111AF02; Wed, 30 May 2018 19:59:43 +0000 (UTC) Date: Wed, 30 May 2018 15:59:42 -0400 From: Mike Snitzer To: Jens Axboe Cc: Christoph Hellwig , Linus Torvalds , Johannes Thumshirn , "Martin K. Petersen" , Linux NVMe Mailinglist , Laurence Oberman , Sagi Grimberg , James Smart , Ewan Milne , Linux Kernel Mailinglist , Keith Busch , Hannes Reinecke , Martin George , John Meneghini , dm-devel@redhat.com Subject: Re: [PATCH 0/3] Provide more fine grained control over multipathing Message-ID: <20180530195942.GC6568@redhat.com> References: <20180525130535.GA24239@lst.de> <20180525135813.GB9591@redhat.com> <20180525141211.GA25971@lst.de> <20180525145056.GD9591@redhat.com> <20180529030236.GA28895@redhat.com> <20180529072240.np5c62akbr7jqelr@linux-x5ow.site> <20180529080952.GA1369@lst.de> <20180529232718.GA1730@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.8]); Wed, 30 May 2018 19:59:45 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Wed, 30 May 2018 19:59:45 +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 Wed, May 30 2018 at 3:05pm -0400, Jens Axboe wrote: > On 5/29/18 5:27 PM, Mike Snitzer wrote: > > On Tue, May 29 2018 at 4:09am -0400, > > Christoph Hellwig wrote: > > > >> On Tue, May 29, 2018 at 09:22:40AM +0200, Johannes Thumshirn wrote: > >>> For a "Plan B" we can still use the global knob that's already in > >>> place (even if this reminds me so much about scsi-mq which at least we > >>> haven't turned on in fear of performance regressions). > >>> > >>> Let's drop the discussion here, I don't think it leads to something > >>> else than flamewars. > >> > >> If our plan A doesn't work we can go back to these patches. For now > >> I'd rather have everyone spend their time on making Plan A work then > >> preparing for contingencies. Nothing prevents anyone from using these > >> patches already out there if they really want to, but I'd recommend > >> people are very careful about doing so as you'll lock yourself into > >> a long-term maintainance burden. > > > > Restating (for others): this patchset really isn't about contingencies. > > It is about choice. > > > > Since we're at an impasse, in the hopes of soliciting definitive > > feedback from Jens and Linus, I'm going to attempt to reset the > > discussion for their entry. > > > > In summary, we have a classic example of a maintainer stalemate here: > > 1) Christoph, as NVMe co-maintainer, doesn't want to allow native NVMe > > multipath to actively coexist with dm-multipath's NVMe support on the > > same host. > > 2) I, as DM maintainer, would like to offer this flexibility to users -- > > by giving them opt-in choice to continue using existing dm-multipath > > with NVMe. (also, both Red Hat and SUSE would like to offer this). > > > > There is no technical reason why they cannot coexist. Hence this simple > > patchset that was originally offered by Johannes Thumshirn with > > contributions from myself. > > Here's what I think - flag days tend to suck. They may be more convenient > for developers, but they inflict pain on users. Sometimes they prevent > them from moving forward, since updates are now gated on external > dependencies. Moving forward with a new architecture is great, but > proper care has to be given to existing users of multipath, regardless > of how few they may be. As I mentioned at the end of my summary (and in my first reply to this 0th header): it is on the "other" multipath toolchain to deal with switching from "native" to "other" (by writing to 'mpath_personality'). For dm-multipath, it is multipathd that would trigger the switch from "native" to "other" iff user opts-in by configuring multipath.conf to own a particular NVMe subsystem's multipathing. So users very likely won't ever have a need to write to 'mpath_personality'. And as such, they'll just default to using "native" NVMe multipath. > This patchset seems pretty clean and minimalist. Realistically, I'm > guessing that SUSE and RH will ship it regardless of upstream status. TBD really. We are keen to enable CONFIG_NVME_MULTIPATH to allow users to use native (as the default!). But we won't be able to do that unless we have this patchset. Because we really do _need_ to give our users the option of continuing to use dm-multipath. And as the Red Hat employee who would have to port it to each kernel (as long as there is a need): _please_ don't make me do that. PLEASE! ;) Mike