[Ocfs2-devel] [PATCH v10 12/25] mm: Move end_index check out of readahead loop

Christoph Hellwig hch at infradead.org
Tue Mar 24 01:40:49 PDT 2020


On Mon, Mar 23, 2020 at 01:22:46PM -0700, Matthew Wilcox wrote:
> From: "Matthew Wilcox (Oracle)" <willy at infradead.org>
> 
> By reducing nr_to_read, we can eliminate this check from inside the loop.
> 
> Signed-off-by: Matthew Wilcox (Oracle) <willy at infradead.org>
> Reviewed-by: John Hubbard <jhubbard at nvidia.com>
> Reviewed-by: William Kucharski <william.kucharski at oracle.com>

Looks good,

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the Ocfs2-devel mailing list