Re: [f2fs-dev] 答复: [PATCH -next] f2fs: adding truncate page cache after being moved

2022-09-12 Thread Chao Yu
On 2022/9/13 11:41, zhangqilong wrote: On 2022/9/13 11:05, Zhang Qilong wrote: If we do not truncate source page cache, user can still see the previous source data after being moved. We fix it by adding truncating after __exchange_data_block. Fixes:4dd6f977fc778 ("f2fs: support an ioctl to

[f2fs-dev] 答复: [PATCH -next] f2fs: adding truncate page cache after being moved

2022-09-12 Thread zhangqilong via Linux-f2fs-devel
> On 2022/9/13 11:05, Zhang Qilong wrote: > > If we do not truncate source page cache, user can still see the > > previous source data after being moved. We fix it by adding truncating > > after __exchange_data_block. > > > > Fixes:4dd6f977fc778 ("f2fs: support an ioctl to move a range of data > >