Re: [PATCH v9 3/8] fsdax: Replace mmap entry in case of CoW

2021-09-16 Thread kernel test robot
Hi Shiyang, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.15-rc1 next-20210916] [cannot apply to xfs-linux/for-next hch-configfs/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when sub

[PATCH v9 3/8] fsdax: Replace mmap entry in case of CoW

2021-09-15 Thread Shiyang Ruan
Replace the existing entry to the newly allocated one in case of CoW. Also, we mark the entry as PAGECACHE_TAG_TOWRITE so writeback marks this entry as writeprotected. This helps us snapshots so new write pagefaults after snapshots trigger a CoW. Signed-off-by: Goldwyn Rodrigues Signed-off-by: S