[LTP] [PATCH v2] readahead02: Always allow at least 100ms for cache to fill

Petr Vorel pvorel@suse.cz
Thu Feb 19 10:39:06 CET 2026


Hi Martin,

> The current wait algorithm for filling the cache after readahead()
> will never retry if the cache doesn't start filling within 15ms.
> Rewrite the wait loop to always allow at least 100ms for the cache
> to fill and exit early only if cache increased by at least half
> of the expected amount. This fixes random test failures if the interval
> between cache increases is longer than 5ms.

LGTM, merged. Thank you.

Kind regards,
Petr


More information about the ltp mailing list