Re: [PATCH] blk-mq: only alloc hctx point as many as nr_hw_queues

Jens Axboe
2017-07-13T16:14:31Z

On 07/13/2017 10:10 AM, weiping zhang wrote:
> one hw queue only has one hctx, reduce it's number same as nr_hw_queues.

What happens if a device registers with eg 4 hw queues, then later
calls blk_mq_update_nr_hw_queues()?

--
Jens Axboe