Thread (3 messages) 3 messages, 3 authors, 2018-12-17

Re: [PATCH] blk-mq: skip zero-queue maps in blk_mq_map_swqueue

From: Jens Axboe <axboe@kernel.dk>
Date: 2018-12-17 17:32:13

On 12/17/18 10:28 AM, Ming Lei wrote:
From 7e849dd9cf37 ("nvme-pci: don't share queue maps"), the mapping
table won't be initialized actually if map->nr_queues is zero, so
we can't use blk_mq_map_queue_type() to retrieve hctx any more.

This way still may cause broken mapping, fix it by skipping zero-queues
maps in blk_mq_map_swqueue().
Applied, thanks.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help