Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp185249imj; Thu, 14 Feb 2019 18:12:27 -0800 (PST) X-Google-Smtp-Source: AHgI3IYq/1v9V81h+MElkGrpnVYaJtAzNCLV0ST6tebtRraCnBwA2PXD83DHRfQGFFerWASE/xE0 X-Received: by 2002:a62:59d0:: with SMTP id k77mr7316504pfj.211.1550196747893; Thu, 14 Feb 2019 18:12:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550196747; cv=none; d=google.com; s=arc-20160816; b=VmFutPN/pJeGXz1MToarhcrIoloPmJgkWs3L0mhpCNbPFUxFfST0taMzQSUNe99UVR Wl95NtpsSZsW5rZUAb37Dbl1aJQEekvkvkyQ6Sjl1jdE/iSc0zbXO1K4B9eLavJ/DKsb BUFSMsz9nZdefzChswhyghy6wG6722hKhoxKu/bxpyReaDCkEErA2xtwTUOw+mpTpliV nbLOzbNl8fnFd72CS5LmZhVQSxPSUmVMDM5Cljac/1P1EM4t7yqDmhR+qfNZ6KwxEWBx YD5Xcv4qEBl0PMAnBcZhu+9s+UbPd0TfpamDo+vYBp/UrKR6x4aCTLVx6aVDYhwSQhYV TA9w== 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=+PAw8AqZ2Jrt0E9kNe8G7wdNgKe/LoMZ6aYN/0Km/Ew=; b=hD5zGmL0NWxZVox9imDF9GAKEgSYVwph7Oohi+HAU8k5isjt/o88RRS8XLVg97Oxf4 bp8c425yZ/iXvbpGrj/f0PaRtEc63bPQjpx4pIzfrItkoAC9L3QYK1+vKYYtKprqPgrL 9m+cAMhnWzSu1z/k7O59yNM5fj3q+Xb1VI31l3fLCUwtEzlRQfVHkdO9hcRxBSYnnVtO jp3Mg6GdfV0JS9/jcVc5PUxuyoX0dgAa4nE06b9/1hQcrzrkwwnbBzicuAXH/6oXJQSy mXNNbXL7pSRni8AJnLOtBN4Vid6Cqec368QXGy11sGCKtHwiLIl5wjBskXQ2ym08lo1j edFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b="ydS3i/y3"; 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 m32si4050739pld.262.2019.02.14.18.12.12; Thu, 14 Feb 2019 18:12:27 -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="ydS3i/y3"; 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 S2406741AbfBNUUY (ORCPT + 99 others); Thu, 14 Feb 2019 15:20:24 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:41953 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390579AbfBNUUX (ORCPT ); Thu, 14 Feb 2019 15:20:23 -0500 Received: by mail-ot1-f68.google.com with SMTP id u16so12737300otk.8 for ; Thu, 14 Feb 2019 12:20:22 -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=+PAw8AqZ2Jrt0E9kNe8G7wdNgKe/LoMZ6aYN/0Km/Ew=; b=ydS3i/y3tQtv90ROBdqP9Dvy8KRVTcNrgSvrAq3QCwPBLPL61vBCRuRyRaTeyAUSpw yWjXUVUfMyAGsIsxCpFuhbU79FxVBFkt2qoWZ0PXd1ZnvwJ3o0POdgwgxQ/T0WUOgrjw 80MF2fCya9suHMSGnT/ib3COL/Dar5Rj3ov5SvyVECqaTG8ZzxdwU4CL3a7A0OG1RPee 3fCGkFvyuDCZs1okEovJsFepoQwckRQdWqif89a9lxAknHXLV52RdvGp1dxORRSqIu1R NY8g8UUWNZRawgRzmYPcT1iqWXXlIpQBvs5hTaXSSfxpA7f3yZm5kpl6ZSmHhT65wFQa SNqQ== 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=+PAw8AqZ2Jrt0E9kNe8G7wdNgKe/LoMZ6aYN/0Km/Ew=; b=Bkl2I4v2qIoxhjIwOg2AfdUDBiCg7BGVuQppMCg047jthYvsCwsJybhuQsqjXajVv+ PR14ZZoPiudCBfeemMBUyNBIpxRbBGZrNzaPyITPPdfWmeuRlMUehY3HsvGglcj3l38l YUj83FhhRLLGZyGYQ0ZvtT7zfLj8LS63LCbbwqVFxUb9W8zPKmtqPi5Dteltxh9nptok wbVTPiVbs9Zs/y4Y+01gXScQAzI3G513v9d0EsbVGspKVmCj6Tonem7MfkPqxrB5duzc Ya+WSLZn7NsDiV/CLq0B58Kof3ts08BqLIQ+n+AGluRlXYnTrZW74SEUIGUU1x2hjaoZ nO4Q== X-Gm-Message-State: AHQUAubSztMrCcWswZ01Iak3d0/Wm2JeKWG0cnqE+2kD1EhS7a/7EBA+ uPyLua8OpPC0TF/02fT9VJ6ODxTTWOm+GoHEVVolUA== X-Received: by 2002:aca:fc06:: with SMTP id a6mr3701842oii.0.1550175622423; Thu, 14 Feb 2019 12:20:22 -0800 (PST) MIME-Version: 1.0 References: <20190214134622.GG4525@dhcp22.suse.cz> <20190214191013.GA3420@redhat.com> <20190214200840.GB12668@bombadil.infradead.org> In-Reply-To: <20190214200840.GB12668@bombadil.infradead.org> From: Dan Williams Date: Thu, 14 Feb 2019 12:20:11 -0800 Message-ID: Subject: Re: [Lsf-pc] [LSF/MM TOPIC] The end of the DAX experiment To: Matthew Wilcox Cc: Jerome Glisse , Michal Hocko , lsf-pc@lists.linux-foundation.org, linux-xfs , linux-fsdevel , linux-ext4 , 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 Thu, Feb 14, 2019 at 12:09 PM Matthew Wilcox wrote: > > On Thu, Feb 14, 2019 at 11:31:24AM -0800, Dan Williams wrote: > > On Thu, Feb 14, 2019 at 11:10 AM Jerome Glisse wrote: > > > I am just again working on my struct page mapping patchset as well as > > > the generic page write protection that sits on top. I hope to be able > > > to post the v2 in couple weeks. You can always look at my posting last > > > year to see more details. > > > > Yes, I have that in mind as one of the contenders. However, it's not > > clear to me that its a suitable fit for filesystem-reflink. Others > > have floated the 'page proxy' idea, so it would be good to discuss the > > merits of the general approaches. > > ... and my preferred option of putting pfn entries in the page cache. Another option to include the discussion. > Or is that what you meant by "page proxy"? Page proxy would be an object that a filesystem could allocate to point back to a single physical 'struct page *'. The proxy would contain an override for page->index.