Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2679947pxb; Tue, 9 Mar 2021 08:20:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJxS7lcitRIFQ4V4jWmZJLHNZiC6dMvLwE24cexdycbKGZ3QQdu0SNGkq/1o+Yc/plLfDnEd X-Received: by 2002:a05:6402:b85:: with SMTP id cf5mr5149184edb.248.1615306827106; Tue, 09 Mar 2021 08:20:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615306827; cv=none; d=google.com; s=arc-20160816; b=Wt0pDEeo/ktWbDsm5LiPyoI2EOaqg7kACAXfDn59VN0y7gurccn43oDXkr/fvh2TaU 3kUNTOu6qKfd4XIKLC4xEnoSN8hFAnyMbWiSayrwuoDs25Waa3LbKiS6M13/sjN26Zfp 3U1TErwu0SaDs4+p81oKzpIMUunC0SkJsXLt3ONQP4thTyS5oOjwh+hWw/VgILqVViFH 7UkmXAI3ur5ZlqHcwhzMOqGYu+lQsQkgM1p8SkFT28kVmNbAzZZ5TIT6WYQUupwm8S/+ zmr7b31XrjATbA0KyCJXe4jVaGBJA0a/O9AzIg5RhZWyUYaYzUde1V2yqbbEMzU7UNsT qVuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=IN1fPsFWG9ai4jUR4qM2GqqokjYeZhE7zT9GaLXrTLM=; b=G3eaBuyxU/Hj2i55tPpQjRd3LjxMOEPQb8rb8A8tXxIJRcp3TE+J5HT1Cv9sS+apBc /gfCmDuI8vP/T3RHZ3zcSIrO3932Zl06N8rZXpzILxEDavLKP92HOgl1xFUHKqNR46wm YbHz88r75vF7kJvQLqPtFFbqQaAjqIjKh8pR/ocJt9fnIwbDqZfJjvA+5ol6uI7DzAW9 2usft7lt2y2KqY/duYqo3WHbgcb8/KFXc5P3XLiYSRsBkqXtl+A58FtIMYE/UZOEPrzd 7REb8kRYIFFiGxXs7eqp2ms3n35mlaAA6dslPdhZROlCn/VTUsLDw6KNN18nB5P6OGnF qzzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m4si3423086edc.119.2021.03.09.08.20.03; Tue, 09 Mar 2021 08:20:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231955AbhCIQTD (ORCPT + 99 others); Tue, 9 Mar 2021 11:19:03 -0500 Received: from mx2.suse.de ([195.135.220.15]:47662 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229815AbhCIQSt (ORCPT ); Tue, 9 Mar 2021 11:18:49 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id D8065AF0C; Tue, 9 Mar 2021 16:18:47 +0000 (UTC) Date: Tue, 9 Mar 2021 10:19:06 -0600 From: Goldwyn Rodrigues To: Shiyang Ruan Cc: linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-nvdimm@lists.01.org, linux-fsdevel@vger.kernel.org, darrick.wong@oracle.com, dan.j.williams@intel.com, willy@infradead.org, jack@suse.cz, viro@zeniv.linux.org.uk, linux-btrfs@vger.kernel.org, ocfs2-devel@oss.oracle.com, david@fromorbit.com, hch@lst.de Subject: Re: [PATCH v2 00/10] fsdax,xfs: Add reflink&dedupe support for fsdax Message-ID: <20210309161906.jjd7iw2y6hcst5c3@fiona> References: <20210226002030.653855-1-ruansy.fnst@fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210226002030.653855-1-ruansy.fnst@fujitsu.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Shiang, Thanks for picking up this work. On 8:20 26/02, Shiyang Ruan wrote: > This patchset is attempt to add CoW support for fsdax, and take XFS, > which has both reflink and fsdax feature, as an example. How does this work for read sequence for two different files mapped to the same extent, both residing in DAX? If two different files read the same shared extent, which file would resultant page->mapping->host point to? This problem is listed as a TODO over dax_associate_entry() and is still not fixed. -- Goldwyn