Re: (subset) ensure q_usage_counter is held over bio splits

Jens Axboe
2024-01-14T14:38:10Z

On Thu, 11 Jan 2024 14:57:03 +0100, Christoph Hellwig wrote:
> current blk_submit_bio can call into the bio splitting code without
> q_usage_counter held, which can lead to inconsistent limits beeing
> applied for drivers that change the limits at runtime.
>
> The first patch in the series is a small comment and naming cleanup,
> and the second one ensures we always hold q_usage_counter before
> even entering blk_mq_submit_bio.
>
> [...]

Applied, thanks!

[1/2] blk-mq: rename blk_mq_can_use_cached_rq
commit: 309ce6741430b5a7b5e85cd1a7569647f8d9dfa6

Best regards,
--
Jens Axboe