Re: [PATCH v2 00/10] fsdax,xfs: Add reflink&dedupe support for fsdax

From: Goldwyn Rodrigues
Date: Tue Mar 09 2021 - 11:19:37 EST


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.

<snip>

--
Goldwyn