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

From: ruansy.fnst@xxxxxxxxxxx
Date: Tue Mar 09 2021 - 20:27:27 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.

I have posted another patchset which I called "fix dax-rmap"[1]. It is a
try to solve this problem, but still in disscussion for now.

[1] https://lkml.org/lkml/2021/2/8/347

--
Thanks,
Ruan Shiyang.

>
> <snip>
>
> --
> Goldwyn