Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6988181ybi; Wed, 5 Jun 2019 09:23:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqwAAYdf8HtkXZkKIThFaEPmSXaDsGaxZuyOX5g/8pEqKHW91xVfj4RXVO19ESWXDM5b6I0h X-Received: by 2002:a17:902:b705:: with SMTP id d5mr11144153pls.274.1559751804907; Wed, 05 Jun 2019 09:23:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559751804; cv=none; d=google.com; s=arc-20160816; b=FWjttdQidGKfUejX0UUBrRILKZhhycrmltyIWOzI3z1cotP3tjf20mALfmITYtQ6tz XSokOXizd5aqPq+zhOPdCGAPzzdzb8xyFXFW3y3RptPQxI4UvQmZDAruAXMZ8jlkEYVQ smP1iYvmf6Mz/iQv07UdIzEzcwcq2rJ2uNKXKtB0yhclFRW1ZKwNdtV4ufAo0HH9/l4w O3V4MJPxRKMKcuFygKJwQjUgj+JyTnDbTKzAbjOQ0VGw008y0q/OmmyIhe7vrDxZ+8+A yrc9jDAjjvo16+rq+SpBUb01elOhxY6IRtziQhiW4fQDk9vR5W21BiIQQTRKg+BZuTte 8WEQ== 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=Yc2XIrurHP5A8KmyPd7zevJ5rmQ5ThKy180qltVK4RM=; b=m/j0JsylNDb8yOljzUVnf6rjKF7LKvYlKRrmk5YDNpD+4MEoo6b8GOVbOF6lBOz0Wi rpzaKujbKTRJVqja1AHgLpzs4Jr5/8PtZ9JevJLwZe+xGcr7bz811SidvPUssNDbIGb0 QaC6U2k9ZTMOt55p76mTeMhwHhBoNGouzdwRXprhRP7H9+oISRBhwQzSxzjGziqPN2YG +C385cYtRrGQeel52pTzmILEzLx27XlCL1zl1fZAuJJgEyt77AghN8tDCSEo3pypV2Rn NWKhQm/dGauHxul6uGt+H/g+Lheps9SJSGG3q+BFpBquJzsWYFY0MhXgk83WdtjYs6FC ajAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-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 g129si28979663pfb.181.2019.06.05.09.23.01; Wed, 05 Jun 2019 09:23:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-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-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728534AbfFEQWJ (ORCPT + 99 others); Wed, 5 Jun 2019 12:22:09 -0400 Received: from mx2.suse.de ([195.135.220.15]:58560 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726670AbfFEQWI (ORCPT ); Wed, 5 Jun 2019 12:22:08 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 537BDAD81; Wed, 5 Jun 2019 16:22:07 +0000 (UTC) Date: Wed, 5 Jun 2019 11:22:04 -0500 From: Goldwyn Rodrigues To: Dan Williams Cc: Matthew Wilcox , Jerome Glisse , Michal Hocko , lsf-pc@lists.linux-foundation.org, linux-xfs , linux-fsdevel , linux-ext4 , Linux Kernel Mailing List , linux-nvdimm Subject: Re: [Lsf-pc] [LSF/MM TOPIC] The end of the DAX experiment Message-ID: <20190605162204.jzou5hry5exly5wx@fiona> References: <20190214134622.GG4525@dhcp22.suse.cz> <20190214191013.GA3420@redhat.com> <20190214200840.GB12668@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Hi Dan/Jerome, On 12:20 14/02, Dan Williams wrote: > 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. Was there any outcome on this and its implementation? I am specifically interested in this for DAX support on btrfs/CoW: The TODO comment on top of dax_associate_entry() :) If there are patches/git tree I could use to base my patches on, it would be nice. -- Goldwyn