From: Petr Vorel <pvorel@suse.cz>
To: Martin Doucha <mdoucha@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v2] readahead02: Always allow at least 100ms for cache to fill
Date: Thu, 19 Feb 2026 10:39:06 +0100 [thread overview]
Message-ID: <20260219093906.GA320994@pevik> (raw)
In-Reply-To: <20260218174139.94454-1-mdoucha@suse.cz>
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
--
Mailing list info: https://lists.linux.it/listinfo/ltp
prev parent reply other threads:[~2026-02-19 9:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-18 17:41 [LTP] [PATCH v2] readahead02: Always allow at least 100ms for cache to fill Martin Doucha
2026-02-19 8:38 ` Andrea Cervesato via ltp
2026-02-19 9:39 ` Petr Vorel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260219093906.GA320994@pevik \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
--cc=mdoucha@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.