On Tue, 17 Jan 2023 11:42:15 +0000, Pavel Begunkov wrote: > When there are no read queues read requests will be assigned a > default queue on allocation. However, blk_mq_get_cached_request() is not > prepared for that and will fail all attempts to grab read requests from > the cache. Worst case it doubles the number of requests allocated, > roughly half of which will be returned by blk_mq_free_plug_rqs(). > > It only affects batched allocations and so is io_uring specific. > For reference, QD8 t/io_uring benchmark improves by 20-35%. > > [...] Applied, thanks! [1/1] block: fix hctx checks for batch allocation (no commit info) Best regards, -- Jens Axboe