Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6946186ybl; Wed, 15 Jan 2020 12:50:12 -0800 (PST) X-Google-Smtp-Source: APXvYqz9ZvnrReig8P7z2wVubOsF9LR8xazTFI/vmBKDS9KfScNgzK0+2qElQpTVzXEfrPcBTK5k X-Received: by 2002:aca:ec93:: with SMTP id k141mr1309781oih.145.1579121412002; Wed, 15 Jan 2020 12:50:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579121411; cv=none; d=google.com; s=arc-20160816; b=BD7Xn5GL7q97ocuGaty+JvsBoRCcM0H64Gb0qFI9S8+Vh5qEZdKLP4pq8Uc+FW/iI6 I2VayvsxJqarV+9Y/+K/08v5+x55f8io0EyEI9V8zITryx5um4eyFLq99AkHeTwS+sJV Og8ZEcnQZysJR+9AT2rHSsD6jftjj17dI8CTsqYVrswRf+j188K0ohCJgJ+UV6pcgari J6ifequRTCXNFIOPHo8Z0zClmkI6xaMmBZ/kKN7fkyCq0nP/AUtXkMFxq+wq/73K1Ejm cUzWp7ojHYPKB1Ms/Qfzbtj8TZtCLbRwJgMeG3HK2KfQmo6zb2Kup6p4yoSW+UO0Ql8M +SpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=dPd0oj72IQTr7Ho1Km4ZWXqORK+AR/nQgrcplLwpJyE=; b=mVOjLMDab1V0UH6EBwuzwwWKLPGX2OIK/hz7JG7apUpiZ0i5A/2V9TPjYJq/oIgxvV rwV5hM8qciJCIcTfwOIqGNdaySs63+OGkjxh57B5+Ku7ZzCwVPHVEvemrkILNvmXGW/v Wap/XM4ObKyRyI+ObAJgBt5MN8CbRYYv9NtH5iht/qYgHIf6fz+ZKMPnfTim/HHJqZX/ 0Gxx+O6V/RjEsNily38OWD7Ko7fxnmhAB5VEMXKEJSt69xGJhTGpBpbWF3LwJC7i83nT sEWXfjKHdIjVMOLvSJBPS6yoe9roA6c4PAIZ9Vq6iLGhUXkZ9oDbX+wkJDf2fXxfmsr4 Yaww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=fpojuKnu; 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w24si9338131oic.260.2020.01.15.12.49.58; Wed, 15 Jan 2020 12:50:11 -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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=fpojuKnu; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729010AbgAOURw (ORCPT + 99 others); Wed, 15 Jan 2020 15:17:52 -0500 Received: from mail-ot1-f65.google.com ([209.85.210.65]:44442 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728596AbgAOURv (ORCPT ); Wed, 15 Jan 2020 15:17:51 -0500 Received: by mail-ot1-f65.google.com with SMTP id h9so17208115otj.11 for ; Wed, 15 Jan 2020 12:17:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dPd0oj72IQTr7Ho1Km4ZWXqORK+AR/nQgrcplLwpJyE=; b=fpojuKnu+Wi5p9+eOGcUnK1tXz/ym+tDyQJR7fiN07JPdlNydPbQ1RuKfL9nYOO/vp ktdoj1LGNeeH0tLetzt6le5Wb0WjNM3TI4p2CjOGGX+EuSOWw0DzUACfhhv8vVjFUZDe W6M8jugyiYMYQ6KmvTTdLB9sA/e2SPnlatCfzz0H0tbTOuYqDFrMchmtCY6PyFUez9hR OJoFqGd7eJNY1E5+nY46wPN/+WfX65rZrOFaITHNzfaWg74cclGgIH9l50y+jzJWSEL7 OLoPXxM4Hj1zKIsYyFEQOBs4ip5mmicI0GLmGXVjvoFJoRTGMOaPmOsh7mhiRTDNLsCU UcPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dPd0oj72IQTr7Ho1Km4ZWXqORK+AR/nQgrcplLwpJyE=; b=rq9/kX1EdloaxKlBA9hIed12QG8BxpN6JLlIfd8CPIHQJuiV5vJeX8QSTypEcrOuIJ 3XXpuBiX50q1UGHCft7pMYiHteDjlAq7xbrER2fJJ4f+UCTRgC/XVIr0z0Y7Fp4VLe8C TEyBFPcp8+Fyd6BIA6kBDj39Djc+ZiapNu/i7rvsjLtOEw1ZwH7d2BBn32VwF+64STsF ZYNnNXM2XRWBl2smgyKuUQO1kCFBDEz9e8rPPly95wlyNIImyR91B+XoW1Tddqj93hL2 woPLlrrbGvUZvg4wwXju+Lo14z4QFQvJgd45zBf7wskyniXTjCMatKdIJMAS4vR83IHE SDHA== X-Gm-Message-State: APjAAAXCYsHq4TjLPT7wA/D8vaQHPlPvXuo3t7u/4tpK/jgnMMTI/3PO 3WVG+PBZZ5FE+bO+yaeA2fADln8FdvEQPGv+L1KVFA== X-Received: by 2002:a9d:68d3:: with SMTP id i19mr3785693oto.71.1579119471207; Wed, 15 Jan 2020 12:17:51 -0800 (PST) MIME-Version: 1.0 References: <20200107180101.GC15920@redhat.com> <20200107183307.GD15920@redhat.com> <20200109112447.GG27035@quack2.suse.cz> <20200114203138.GA3145@redhat.com> <20200114212805.GB3145@redhat.com> <20200115195617.GA4133@redhat.com> In-Reply-To: <20200115195617.GA4133@redhat.com> From: Dan Williams Date: Wed, 15 Jan 2020 12:17:40 -0800 Message-ID: Subject: Re: [PATCH 01/19] dax: remove block device dependencies To: Vivek Goyal Cc: 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 , Jeff Moyer Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 15, 2020 at 11:56 AM Vivek Goyal wrote: [..] > > Even the Red Hat > > installation guide example shows mounting on pmem0 directly. [1] > > Below that example it also says. > > "When creating partitions on a pmem device to be used for direct access, > partitions must be aligned on page boundaries. On the Intel 64 and AMD64 > architecture, at least 4KiB alignment for the start and end of the > partition, but 2MiB is the preferred alignment. By default, the parted > tool aligns partitions on 1MiB boundaries. For the first partition, > specify 2MiB as the start of the partition. If the size of the partition > is a multiple of 2MiB, all other partitions are also aligned." > > So documentation is clearly saying dax will work with partitions as well. > And some user might decide to just do that. Yes, of course but my point is that it was ambiguous. 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.