Re: [PATCH 1/2] fs: Break generic_file_buffered_read up into multiple functions

From: Jens Axboe
Date: Tue Oct 20 2020 - 10:46:43 EST


On 10/17/20 2:10 PM, Kent Overstreet wrote:
> This is prep work for changing generic_file_buffered_read() to use
> find_get_pages_contig() to batch up all the pagecache lookups.
>
> This patch should be functionally identical to the existing code and
> changes as little as of the flow control as possible. More refactoring
> could be done, this patch is intended to be relatively minimal.

This is a sorely needed cleanup.

Reviewed-by: Jens Axboe <axboe@xxxxxxxxx>

--
Jens Axboe