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

Martin Doucha mdoucha@suse.cz
Tue Feb 17 16:39:07 CET 2026


On 2/17/26 14:42, Andrea Cervesato wrote:
> Hi!
> 
>>   	if (do_readahead) {
>>   		do {
>> +			cached_prev = get_file_cached_bytes(fname, fsize);
>> +			tst_res(TDEBUG, "Per-file cached: %lu kB",
>> +				cached_prev / 1024);
> 
> This should be %zu. The rest LGTM
> 
> Reviewed-by: Andrea Cervesato <andrea.cervesato@suse.com>

Good catch. Should I send a v2 with fix for the format string and the 
MIN_SLEEP_LIMIT rename, or can you fix both during merge?

-- 
Martin Doucha   mdoucha@suse.cz
SW Quality Engineer
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic


More information about the ltp mailing list