[Cluster-devel] [PATCH v7 12/24] mm: Add page_cache_readahead_unbounded

2020-02-19 Thread Matthew Wilcox
From: "Matthew Wilcox (Oracle)" ext4 and f2fs have duplicated the guts of the readahead code so they can read past i_size. Instead, separate out the guts of the readahead code so they can call it directly. Signed-off-by: Matthew Wilcox (Oracle) --- fs/ext4/verity.c| 35 ++-

Re: [Cluster-devel] [PATCH v7 12/24] mm: Add page_cache_readahead_unbounded

2020-02-24 Thread Christoph Hellwig
On Wed, Feb 19, 2020 at 01:00:51PM -0800, Matthew Wilcox wrote: > From: "Matthew Wilcox (Oracle)" > > ext4 and f2fs have duplicated the guts of the readahead code so > they can read past i_size. Instead, separate out the guts of the > readahead code so they can call it directly. I don't like th