Re: [PATCH] block/mq-deadline: use correct way to throttling write requests

From: Jens Axboe
Date: Tue Aug 08 2023 - 17:46:54 EST



On Thu, 03 Aug 2023 19:12:42 +0800, Zhiguo Niu wrote:
> The original formula was inaccurate:
> dd->async_depth = max(1UL, 3 * q->nr_requests / 4);
>
> For write requests, when we assign a tags from sched_tags,
> data->shallow_depth will be passed to sbitmap_find_bit,
> see the following code:
>
> [...]

Applied, thanks!

[1/1] block/mq-deadline: use correct way to throttling write requests
commit: d47f9717e5cfd0dd8c0ba2ecfa47c38d140f1bb6

Best regards,
--
Jens Axboe