Re: [patch v2 2/7] blk-mq-sched: unify elevators checking for async requests

From: Nilay Shroff
Date: Thu Oct 09 2025 - 07:16:10 EST




On 10/9/25 1:16 PM, Yu Kuai wrote:
> From: Yu Kuai <yukuai3@xxxxxxxxxx>
>
> bfq and mq-deadline consider sync writes as async requests and only
> resver tags for sync reads by async_depth, however, kyber doesn't
> consider sync writes as async requests for now.
>
> Consider the case there are lots of dirty pages, and user use fsync to
> flush dirty pages. In this case sched_tags can be exhausted by sync writes
> and sync reads can stuck waiting for tag. Hence let kyber follow what
> mq-deadline and bfq did, and unify async requests checking for all
> elevators.
>
> Signed-off-by: Yu Kuai <yukuai3@xxxxxxxxxx>

Looks good to me:
Reviewed-by: Nilay Shroff <nilay@xxxxxxxxxxxxx>