Re: [RFC] iomap: fix race between readahead and direct write
From: yukuai (C)
Date: Sat Jan 18 2020 - 22:15:34 EST
On 2020/1/19 11:01, Gao Xiang wrote:
IMO, if use_list == true, it will call read_pages -> .readpages
and go just like the current implementation.
The problem is that in the current implementatin, iomap_next_page()
add page to page cache and it is replaced with readahead_page()
Thanks!
Yu Kuai