Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp120246imm; Fri, 5 Oct 2018 00:33:49 -0700 (PDT) X-Google-Smtp-Source: ACcGV60VTnqNTJAkemu13C3kqP+h20hjq1eernvudTPo0IueXIWtYBrL1WuvFYhrb8YOZ6scOFPc X-Received: by 2002:a62:90db:: with SMTP id q88-v6mr10476504pfk.98.1538724829812; Fri, 05 Oct 2018 00:33:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538724829; cv=none; d=google.com; s=arc-20160816; b=DBbej3SUE+honRtufsWsWYgy0DZfn0ae9K1kBLRgGF4BhiOn1FaJOzMZxRJkKjw2Br 2n00BlQGpFIIvf5OOedt8VRbChejEh/CIhVzxyZQsTlu9dUQpr5rin5IcYlSDbzPSDJ/ 9LxAu+X7n7bq/QEi3Ib0mYk8M9Axx8z4KwBfrV1FNlMAbtUQ+PfYgZdck6ClgvR4LbB9 13PySajKOUrxu3ce19RdGUB6/IOYrBYIJhmO+Gkd4JpAeb8ipEcEfeC9C/aX9J3rhAW+ Fiiy4PvBeletwWNhv4kFBBnZqY0lCDlaRoyr0jGQET8YDA4msyv8Y5zkBgxzF0HfTsEn LbnA== 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; bh=pQD+F96/8OKvNqcw8KScsu1DlJ7HyYxevx/8LM4ta+c=; b=dXREjVKM8I0NI8s/fW3jUSVlhrfZISbXy12Vhvdxhs0oQs2z3xKBFlsUyhG3OBPdB+ qHqUGGoDmp2/aZEAzMrQyi87EV6V+n5rxxc2lU+pLoFOY4tWuHRrXdk/y4CmR8DhMe4u SAGJxxoxVItplENmFQvtoSxuu70fqMgq802NTPQC9hFZgkk5vxRrGwhvgS/D2LVeV54E RVC6LcSDa1XksQhyMoSy+f5NFwE1u0KORBW+IZt+0oUjGzpc7l7pxXdhI/eG+lBf/OVR 9voXoxC2EE5gJwh7lh1TYfG0EUSVQ8qb6Re2NtmuMko8pl/zF39pi34rhkyFehlSgKBo mNlA== 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 w8-v6si7745114plz.333.2018.10.05.00.33.33; Fri, 05 Oct 2018 00:33:49 -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 S1728558AbeJEOaO (ORCPT + 99 others); Fri, 5 Oct 2018 10:30:14 -0400 Received: from verein.lst.de ([213.95.11.211]:59398 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728229AbeJEOaN (ORCPT ); Fri, 5 Oct 2018 10:30:13 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id 725D267357; Fri, 5 Oct 2018 09:32:45 +0200 (CEST) Date: Fri, 5 Oct 2018 09:32:45 +0200 From: Christoph Hellwig To: Thadeu Lima de Souza Cascardo Cc: linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, Sagi Grimberg , Jens Axboe , Christoph Hellwig , Potnuri Bharat Teja , Keith Busch , Hannes Reinecke , "Martin K . Petersen" Subject: Re: [PATCH] nvme: create 'paths' entries for hidden controllers Message-ID: <20181005073245.GA24224@lst.de> References: <20180928191720.3461-1-cascardo@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180928191720.3461-1-cascardo@canonical.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 28, 2018 at 04:17:20PM -0300, Thadeu Lima de Souza Cascardo wrote: > When using initramfs-tools with only the necessary dependencies to mount > the root filesystem, it will fail to include nvme drivers for a root on a > multipath nvme. That happens because the slaves relationship is not > present. > > As discussed in [1], using slaves will break lsblk, because the slaves are > hidden from userspace, that is, they have no real block device, just an > entry under sysfs. > > Introducing the paths subdir and using that on initramfs-tools makes it > possible to now boot a system with nvme multipath as root. Do we need documentation how these paths links are supposed to work? Who is going to parse them?