Re: [PATCH RFC v2 4/4] block/mq-deadline: introduce min_async_depth
From: Yu Kuai
Date: Wed Dec 18 2024 - 21:01:34 EST
Hi,
在 2024/12/19 2:06, Bart Van Assche 写道:
On 12/17/24 5:12 PM, Yu Kuai wrote:
dd->async_depth is initialized to 0 now, functionally I think
it's the same as q->nr_requests. And I do explain this in commit
message, maybe it's not clear?
It would be good to add a comment in the source code that explains that
__blk_mq_get_tag() does not restrict tag allocation if dd->async_depth
is zero because that causes data->shallow_depth to be zero.
Ok.
Thanks,
Kuai
Thanks,
Bart.
.