[PATCH 00/12] Change readahead API

Andrew Morton akpm at linux-foundation.org
Thu Feb 13 15:38:52 AEDT 2020


On Fri, 24 Jan 2020 17:35:41 -0800 Matthew Wilcox <willy at infradead.org> wrote:

> From: "Matthew Wilcox (Oracle)" <willy at infradead.org>
> 
> This series adds a readahead address_space operation to eventually
> replace the readpages operation.  The key difference is that
> pages are added to the page cache as they are allocated (and
> then looked up by the filesystem) instead of passing them on a
> list to the readpages operation and having the filesystem add
> them to the page cache.  It's a net reduction in code for each
> implementation, more efficient than walking a list, and solves
> the direct-write vs buffered-read problem reported by yu kuai at
> https://lore.kernel.org/linux-fsdevel/20200116063601.39201-1-yukuai3@huawei.com/

Unclear which patch fixes this and how it did it?


More information about the Linux-erofs mailing list