Re: [PATCH v13 7/7] fsdax: set a CoW flag when associate reflink mappings

2022-04-20 Thread Darrick J. Wong
On Tue, Apr 19, 2022 at 12:50:45PM +0800, Shiyang Ruan wrote: > Introduce a PAGE_MAPPING_DAX_COW flag to support association with CoW file > mappings. In this case, since the dax-rmap has already took the > responsibility to look up for shared files by given dax page, > the page->mapping is no

Re: [PATCH v13 7/7] fsdax: set a CoW flag when associate reflink mappings

2022-04-19 Thread Christoph Hellwig
Looks good: Reviewed-by: Christoph Hellwig

[PATCH v13 7/7] fsdax: set a CoW flag when associate reflink mappings

2022-04-18 Thread Shiyang Ruan
Introduce a PAGE_MAPPING_DAX_COW flag to support association with CoW file mappings. In this case, since the dax-rmap has already took 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.