Re: [PATCH 10/13] f2fs: Convert to using invalidate_lock

Chao Yu
2021-05-26T09:55:17Z

On 2021/5/25 21:50, Jan Kara wrote:
> Use invalidate_lock instead of f2fs' private i_mmap_sem. The intended
> purpose is exactly the same. By this conversion we fix a long standing
> race between hole punching and read(2) / readahead(2) paths that can
> lead to stale page cache contents.
>
> CC: Jaegeuk Kim <jaegeuk@kernel.org>
> CC: Chao Yu <yuchao0@huawei.com>
> CC: linux-f2fs-devel@lists.sourceforge.net
> Signed-off-by: Jan Kara <jack@suse.cz>

Acked-by: Chao Yu <yuchao0@huawei.com>

Thanks,