[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b5ac76bd-567f-2a39-3be1-04e0ed136278@huawei.com>
Date: Sun, 19 Jan 2020 11:15:18 +0800
From: "yukuai (C)" <yukuai3@...wei.com>
To: Gao Xiang <gaoxiang25@...wei.com>
CC: Matthew Wilcox <willy@...radead.org>, <hch@...radead.org>,
<darrick.wong@...cle.com>, <linux-xfs@...r.kernel.org>,
<linux-fsdevel@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<houtao1@...wei.com>, <zhengbin13@...wei.com>,
<yi.zhang@...wei.com>
Subject: Re: [RFC] iomap: fix race between readahead and direct write
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
Powered by blists - more mailing lists