Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8103531ybl; Thu, 16 Jan 2020 10:40:46 -0800 (PST) X-Google-Smtp-Source: APXvYqzCdcPZRYq5+iXxHYzVJ/ywTEFQ4DRW6WjbIx6l2HLc/6b9I4K+z/cqeV3Vy9xglp6OccGj X-Received: by 2002:a05:6808:208:: with SMTP id l8mr349739oie.112.1579200045976; Thu, 16 Jan 2020 10:40:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579200045; cv=none; d=google.com; s=arc-20160816; b=zAkxzqAiGB7BCuvL1s/pGLxscL8Av0M+vtwHGFwbxhDukXSFQOdwn/0STgLvqW+nyK ceA0+cmVT9xhTkBqa4QIA39mUyZdVUByKK6UvF01WtDriqXC4zU9hH6SJJ55lkwlB3+B N8n6qqLc2CwQD6kL+zvPKwXy2ZDCOiwTxkXNyPc49GOsNGTNsG+A9LsfMfllHF/UBFyF EBPoTzLcm1RZ1ghjn11iKG3DttoSE9nfMGOj3Lfg8xReJvBeL0F7+g2PGiFWDnZqoVeV 41r41aHhFFhk0OHx3lqtNZ4Gerd0Z70K8F9DpKnw6Lg81Q+L4uyFBQgCe7rTywsby2uK uAxA== 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:dkim-signature; bh=m9QaZpo4ehb9dzb9uGDth8ZZA66JROBihleoP8BqvZ0=; b=iukB/z7fio3FpAgrMCe9uv3ruJI4wtHitIqc2zc7FrEKgaZ6RM5wqi2YIQaFfOHusO EUQT4IXldxLGqOu+FvGwOQou/MKq5IXo6lzrRgdPgMwqQX0W3NGhGcu0hZK92VtfY6DF ZH7fI9uM+KZFk6Ns53IgepsyDa2OXP/56HGiG+zSUG4/itconskHXO3UklvJvYdsMqNa ZNOl0EX6ga7urimRRH8XD/33HhJSDh7AFTkrY/u53deate2GW5WNbuS8ffSMoXY+ckpT qJ/XgO48goePapHtTgYCWQzMBoR3wRFtRhBLocQTlNqjUDhfDhkiDdgw2E74O+HvH5Rw WNYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=L+6b6EUp; 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=pass (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 c19si13715334otn.7.2020.01.16.10.40.34; Thu, 16 Jan 2020 10:40:45 -0800 (PST) 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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=L+6b6EUp; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404911AbgAPSjP (ORCPT + 99 others); Thu, 16 Jan 2020 13:39:15 -0500 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:42928 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387612AbgAPSjN (ORCPT ); Thu, 16 Jan 2020 13:39:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579199952; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=m9QaZpo4ehb9dzb9uGDth8ZZA66JROBihleoP8BqvZ0=; b=L+6b6EUp9Qect+NKD8MzEN0wtBLlXtZQNASb230tRgJSHBQiJlRfUyrk0Y5fdwf7mmVo49 F6tbXnErPsNi0lylFXIvC+3wj0Sq8Tcw0eABgqkncFAlEO4gJ5UTt0zXMZoRWfZpScRKU5 FOhhyBous4a8inQMh7PIeeanOU9Ds04= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-367-1KLdtB6dNpy1BWHwcYn6Kw-1; Thu, 16 Jan 2020 13:39:08 -0500 X-MC-Unique: 1KLdtB6dNpy1BWHwcYn6Kw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 422A7800D4C; Thu, 16 Jan 2020 18:39:06 +0000 (UTC) Received: from horse.redhat.com (unknown [10.18.25.35]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5CE9480617; Thu, 16 Jan 2020 18:39:01 +0000 (UTC) Received: by horse.redhat.com (Postfix, from userid 10451) id D15EA220A24; Thu, 16 Jan 2020 13:39:00 -0500 (EST) Date: Thu, 16 Jan 2020 13:39:00 -0500 From: Vivek Goyal To: Dan Williams Cc: Jeff Moyer , Jan Kara , "Darrick J. Wong" , Christoph Hellwig , Dave Chinner , Miklos Szeredi , linux-nvdimm , Linux Kernel Mailing List , "Dr. David Alan Gilbert" , virtio-fs@redhat.com, Stefan Hajnoczi , linux-fsdevel Subject: Re: [PATCH 01/19] dax: remove block device dependencies Message-ID: <20200116183900.GC25291@redhat.com> References: <20200109112447.GG27035@quack2.suse.cz> <20200114203138.GA3145@redhat.com> <20200114212805.GB3145@redhat.com> <20200115195617.GA4133@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 16, 2020 at 10:09:46AM -0800, Dan Williams wrote: > On Wed, Jan 15, 2020 at 1:08 PM Jeff Moyer wrote: > > > > Hi, Dan, > > > > Dan Williams writes: > > > > > I'm going to take a look at how hard it would be to develop a kpartx > > > fallback in udev. If that can live across the driver transition then > > > maybe this can be a non-event for end users that already have that > > > udev update deployed. > > > > I just wanted to remind you that label-less dimms still exist, and are > > still being shipped. For those devices, the only way to subdivide the > > storage is via partitioning. > > True, but if kpartx + udev can make this transparent then I don't > think users lose any functionality. They just gain a device-mapper > dependency. So udev rules will trigger when a /dev/pmemX device shows up and run kpartx which in turn will create dm-linear devices and device nodes will show up in /dev/mapper/pmemXpY. IOW, /dev/pmemXpY device nodes will be gone. So if any of the scripts or systemd unit files are depenent on /dev/pmemXpY, these will still be broken out of the box and will have to be modified to use device nodes in /dev/mapper/ directory instead. Do I understand it right, Or I missed the idea completely. Vivek