From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Date: Mon, 24 Feb 2020 13:53:24 -0800 Subject: [Cluster-devel] [PATCH v7 12/24] mm: Add page_cache_readahead_unbounded In-Reply-To: <20200219210103.32400-13-willy@infradead.org> References: <20200219210103.32400-1-willy@infradead.org> <20200219210103.32400-13-willy@infradead.org> Message-ID: <20200224215324.GA16051@infradead.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 this, but then I like the horrible open coded versions even less.. Can you add a do not use for new code comment to the function as well? Otherwise looks good: Reviewed-by: Christoph Hellwig