Re: [Cluster-devel] [PATCH v7 05/24] mm: Use readahead_control to pass arguments

2020-02-24 Thread Christoph Hellwig
On Wed, Feb 19, 2020 at 01:00:44PM -0800, Matthew Wilcox wrote: > @@ -160,9 +164,13 @@ void __do_page_cache_readahead(struct address_space > *mapping, > unsigned long end_index;/* The last page we want to read */ > LIST_HEAD(page_pool); > int page_idx; > - unsigned

[Cluster-devel] [PATCH v7 05/24] mm: Use readahead_control to pass arguments

2020-02-19 Thread Matthew Wilcox
From: "Matthew Wilcox (Oracle)" In this patch, only between __do_page_cache_readahead() and read_pages(), but it will be extended in upcoming patches. Also add the readahead_count() accessor. The read_pages() function becomes aops centric, as this makes the most sense by the end of the