Re: [Cluster-devel] [PATCH v5 03/13] mm: Put readahead pages in cache earlier

2020-02-14 Thread Matthew Wilcox
On Thu, Feb 13, 2020 at 07:36:38PM -0800, John Hubbard wrote: > I see two distinct things happening in this patch, and I think they want to > each be > in their own patch: > > 1) A significant refactoring of the page loop, and > > 2) Changing the place where the page is added to the page cache.

Re: [Cluster-devel] [PATCH v5 03/13] mm: Put readahead pages in cache earlier

2020-02-14 Thread John Hubbard
On 2/10/20 5:03 PM, Matthew Wilcox wrote: > From: "Matthew Wilcox (Oracle)" > > At allocation time, put the pages in the cache unless we're using > ->readpages. > > Signed-off-by: Matthew Wilcox (Oracle) > --- > mm/readahead.c | 66 -- > 1 file

[Cluster-devel] [PATCH v5 03/13] mm: Put readahead pages in cache earlier

2020-02-10 Thread Matthew Wilcox
From: "Matthew Wilcox (Oracle)" At allocation time, put the pages in the cache unless we're using ->readpages. Signed-off-by: Matthew Wilcox (Oracle) --- mm/readahead.c | 66 -- 1 file changed, 42 insertions(+), 24 deletions(-) diff --git