Re: [PATCH v7 8/8] fsdax: add exception for reflinked files

2021-10-15 Thread Christoph Hellwig
On Thu, Oct 14, 2021 at 12:24:50PM -0700, Darrick J. Wong wrote: > It feels a little dangerous to have page->mapping for shared storage > point to an actual address_space when there are really multiple > potential address_spaces out there. If the mm or dax folks are ok with > doing this this way

Re: [PATCH v7 8/8] fsdax: add exception for reflinked files

2021-10-14 Thread Darrick J. Wong
On Fri, Sep 24, 2021 at 09:09:59PM +0800, Shiyang Ruan wrote: > For reflinked files, one dax page may be associated more than once with > different fime mapping and index. It will report warning. Now, since > we have introduced dax-RMAP for this case and also have to keep its > functionality for

[PATCH v7 8/8] fsdax: add exception for reflinked files

2021-09-24 Thread Shiyang Ruan
For reflinked files, one dax page may be associated more than once with different fime mapping and index. It will report warning. Now, since we have introduced dax-RMAP for this case and also have to keep its functionality for other filesystems who are not support rmap, I add this exception