Re: [PATCH -next] blk-mq: Fix wrong wakeup batch configuration which will cause hang

From: Jens Axboe
Date: Thu Jan 27 2022 - 12:17:14 EST


On Thu, 27 Jan 2022 18:00:47 +0800, Laibin Qiu wrote:
> Commit 180dccb0dba4f ("blk-mq: fix tag_get wait task can't be
> awakened") will recalculating wake_batch when inc or dec active_queues
> to avoid wake_batch is > hctx_max_depth. At the same time, in order to
> not affect performance as much as possible, the minimum wakeup batch is
> set to 4. But when the QD is small (such as QD=1), if inc or dec
> active_queues will increase wakeup batch, which will lead to hang.
>
> [...]

Applied, thanks!

[1/1] blk-mq: Fix wrong wakeup batch configuration which will cause hang
commit: 10825410b956dc1ed8c5fbc8bbedaffdadde7f20

Best regards,
--
Jens Axboe