Re: [RFC PATCH] mm/readahead: readahead aggressively if read drops in willneed range

From: Matthew Wilcox
Date: Mon Jan 29 2024 - 08:26:31 EST


On Mon, Jan 29, 2024 at 04:25:41PM +0800, Ming Lei wrote:
> Here the single .ra_pages may not work, that is why this patch stores
> the willneed range in maple tree, please see the following words from
> the original RH report:
>
> "
> Increasing read ahead is not an option as it has a mixed I/O workload of
> random I/O and sequential I/O, so that a large read ahead is very counterproductive
> to the random I/O and is unacceptable.
> "

It is really frustrating having to drag this important information out of
you. Please send the full bug report (stripping identifying information
if that's what the customer needs). We seem to be covering the same
ground again in public that apparently you've already done in private.
This is no way to work with upstream.