Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp5793774imm; Tue, 26 Jun 2018 18:49:40 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL4xaMjYCK9BLwGBbn26nZQoaY2H7vGj9GDB02QzG+1t4sRAP4nho+TNRMFvcN4lARzWEtI X-Received: by 2002:a17:902:b60c:: with SMTP id b12-v6mr4055111pls.44.1530064180742; Tue, 26 Jun 2018 18:49:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530064180; cv=none; d=google.com; s=arc-20160816; b=Zvid8LXN9kxxHa/23AGCcgQr24iRK6VLnBQZuCQG9iEqKnEc3IcUVmgtp69MHlu0GS isduKPTV5kersoyrZL4ZUlHI9h3tlOMUrCT+AMwiZ/OdDibddpXiXAPZXxXgh1UavYe8 ajZ481j4kdBp/deKeBTExJSSOWe5K38QH+QskPFlEdb6Vddo8YphUtN9gP3Wiq6aXnmP Nmkd9fz7FGLjW7QGNIidpY+QMa0LXQskJikgHEipEsXXMQ/AFtlgbLLg1Z6AB2rqvH0a O7VZZMP6/Clmf4A4yNSxYv5qtsEDY3P/FVKO9RQCf21QI7Z0XXfBsPEckSEstZ24X589 8b1A== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=tfrgKetEq90QY/D0gvCuyWtoPa78sDefz3xL8wqeVeo=; b=fjH5l7vMrZIIN94CG5a1h6IWP4gOJcrkQ/CiPFnDxUiUoIylTOUjDFm7BdkrwnWHVr yRVR6ML4a5Ps1l7Sc7YU7tLUU/sMqvplXORxkOG+4U4LKiYq5864Vx7aGdW+4In2mEqx E/Vi6uac6UK+jLm7AHabMx/SMUPISdyP7IOr4gLYefr8wkEBXFcZP/EylnYXSwifRpWO NjXQjuGyyGc6hjOdRBFwcNH/NAbfUM6iCLI09+/fU1hLs2CvBD5ERZ+nxNm7s8qh/fBP 872xTqcFB87KHEXvhrahWlrmHYalAwzEzmEb39mUF9Q2ggOeLN3Fi0T4/Dwocug8CCwp gXIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=U06RQSCK; 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 t21-v6si2455800pgb.553.2018.06.26.18.49.26; Tue, 26 Jun 2018 18:49:40 -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; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=U06RQSCK; 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 S1754580AbeFZWhx (ORCPT + 99 others); Tue, 26 Jun 2018 18:37:53 -0400 Received: from mail-ot0-f193.google.com ([74.125.82.193]:36356 "EHLO mail-ot0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751276AbeFZWhw (ORCPT ); Tue, 26 Jun 2018 18:37:52 -0400 Received: by mail-ot0-f193.google.com with SMTP id c15-v6so70990otl.3 for ; Tue, 26 Jun 2018 15:37:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=tfrgKetEq90QY/D0gvCuyWtoPa78sDefz3xL8wqeVeo=; b=U06RQSCK9WBuwa5P+WJ9Cq7Fa4P0bUodkF6Kdj0oaqjxch+ciJQcC/LIfJ7l066+uy WdYy6QVmVI+2rawyPcbEPmobUe4aLW7u8PorAKpPnzvaPR2Fb5vI4hKw4iZyt3B/+t8c PC/hWI8MQ3+C1kAnv+aWhsEICIJKzssMNgLInwu4is+d+EffpHZYHmFGze2REjlM0wh2 MC5ZEPHpyceTaEEOrm0kryPuAnz3FLsL+9ScIky4gUjIN2e4u7p2DRem+cy9a5s8Hzuf lgbNmTnh/dwV58akPlwWgu45zRYqQb9gh8a9lSSYsA+NbGVINyvqbSZrCKqQonRfpMI+ G3pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=tfrgKetEq90QY/D0gvCuyWtoPa78sDefz3xL8wqeVeo=; b=lMUIU7S9oZFLsKZ3EXCdX1CIl42lmomBzu6/L452pMcz6ILrh14XwlBP7Mg9jiTQ9d L6RZb2yMBaXO+iMJlbglcr9ZpZYRU1zL/RikWAvE5DX41oEeLXjNEOWyCGZzZ6MZyIqp A3ib896AQ285eHqhpcdA2z8zkO10lIXDN8wR9b5dz7auxnuyezuGj7yAEyMtkAKaf4Nu hCLvNZ4JZLK7sFvnvZ7UxlgHCKeG0cb5/qtgJwt4kckMtJm07+Zx5c28Pt0eOUd5zUtK 2STNV50CCgpQye+410+/wX39xW/0yPrJxo9EiO95+VbirzEbRQDVDwe4Cy2U+iCM804H rGUA== X-Gm-Message-State: APt69E16q3Y4iIbZfg+VqgFylaOsdQRvSIK2BHSae+ynzPzgbHCWTP8+ AqlSahZd9DQ0KRV7d6/+JYfnWUTimkjttYnyAUwMMA== X-Received: by 2002:a9d:446c:: with SMTP id f41-v6mr1502323otj.194.1530052671770; Tue, 26 Jun 2018 15:37:51 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:38c2:0:0:0:0:0 with HTTP; Tue, 26 Jun 2018 15:37:51 -0700 (PDT) In-Reply-To: <20180626223041.15653-1-ross.zwisler@linux.intel.com> References: <20180626223041.15653-1-ross.zwisler@linux.intel.com> From: Dan Williams Date: Tue, 26 Jun 2018 15:37:51 -0700 Message-ID: Subject: Re: [PATCH v5 0/3] Fix DM DAX handling To: Ross Zwisler Cc: Toshi Kani , Mike Snitzer , device-mapper development , linux-fsdevel , Linux Kernel Mailing List , linux-nvdimm 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 Tue, Jun 26, 2018 at 3:30 PM, Ross Zwisler wrote: > This series fixes a few issues that I found with DM's handling of DAX > devices. Here are some of the issues I found: > > * We can create a dm-stripe or dm-linear device which is made up of an > fsdax PMEM namespace and a raw PMEM namespace but which can hold a > filesystem mounted with the -o dax mount option. DAX operations to > the raw PMEM namespace part lack struct page and can fail in > interesting/unexpected ways when doing things like fork(), examining > memory with gdb, etc. > > * We can create a dm-stripe or dm-linear device which is made up of an > fsdax PMEM namespace and a BRD ramdisk which can hold a filesystem > mounted with the -o dax mount option. All I/O to this filesystem > will fail. > For the series: Acked-by: Dan Williams