Re: [PATCH 09/26] mm: Make readahead store folio count in readahead_control

From: Paulo Alcantara

Date: Sat Mar 28 2026 - 14:35:34 EST


David Howells <dhowells@xxxxxxxxxx> writes:

> Make readahead store folio count in readahead_control so that the
> filesystem can know in advance how many folios it needs to keep track of.
>
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
> cc: Paulo Alcantara <pc@xxxxxxxxxxxxx>
> cc: Matthew Wilcox <willy@xxxxxxxxxxxxx>
> cc: netfs@xxxxxxxxxxxxxxx
> cc: linux-mm@xxxxxxxxx
> cc: linux-fsdevel@xxxxxxxxxxxxxxx
> ---
> include/linux/pagemap.h | 1 +
> mm/readahead.c | 4 ++++
> 2 files changed, 5 insertions(+)

Reviewed-by:: Paulo Alcantara (Red Hat) <pc@xxxxxxxxxxxxx>