On Wed, Feb 19, 2020 at 06:44:35PM -0800, Bart Van Assche wrote: > blk_mq_map_queues() and multiple .map_queues() implementations expect that > set->map[HCTX_TYPE_DEFAULT].nr_queues is set to the number of hardware Only single queue mapping expects set->map[HCTX_TYPE_DEFAULT].nr_queues to be set->nr_hw_queues. For multiple mapping, set->nr_hw_queues should be sum of each mapping's nr_queue. Thanks, Ming