Re: [PATCH v10 9/9] fsdax: set a CoW flag when associate reflink mappings

2022-02-15 Thread Dan Williams
On Tue, Feb 15, 2022 at 6:55 PM Shiyang Ruan wrote: > > > > 在 2022/2/16 10:09, Dan Williams 写道: > > On Thu, Jan 27, 2022 at 4:41 AM Shiyang Ruan > > wrote: > >> > >> Introduce a PAGE_MAPPING_DAX_COW flag to support association with CoW file > >> mappings. In this case, the dax-RMAP already take

Re: [PATCH v10 9/9] fsdax: set a CoW flag when associate reflink mappings

2022-02-15 Thread Shiyang Ruan
在 2022/2/16 10:09, Dan Williams 写道: On Thu, Jan 27, 2022 at 4:41 AM Shiyang Ruan wrote: Introduce a PAGE_MAPPING_DAX_COW flag to support association with CoW file mappings. In this case, the dax-RMAP already takes the responsibility to look up for shared files by given dax page. The page-

Re: [PATCH v10 9/9] fsdax: set a CoW flag when associate reflink mappings

2022-02-15 Thread Dan Williams
On Thu, Jan 27, 2022 at 4:41 AM Shiyang Ruan wrote: > > Introduce a PAGE_MAPPING_DAX_COW flag to support association with CoW file > mappings. In this case, the dax-RMAP already takes the responsibility > to look up for shared files by given dax page. The page->mapping is no > longer to used for

[PATCH v10 9/9] fsdax: set a CoW flag when associate reflink mappings

2022-01-27 Thread Shiyang Ruan
Introduce a PAGE_MAPPING_DAX_COW flag to support association with CoW file mappings. In this case, the dax-RMAP already takes the responsibility to look up for shared files by given dax page. The page->mapping is no longer to used for rmap but for marking that this dax page is shared. And to make