[PATCH 08/14] block: pass a queue_limits argument to blk_mq_init_queue

John Garry john.g.garry at oracle.com
Tue Jan 30 04:38:53 PST 2024


On 28/01/2024 16:58, Christoph Hellwig wrote:
> Pass a queue_limits to blk_mq_init_queue and apply it if non-NULL.  This
> will allow allocating queues with valid queue limits instead of setting
> the values one at a time later.
> 
> Also rename the function to blk_mq_alloc_queue as that is a much better
> name for a function that allocates a queue and always pass the queuedata
> argument instead of having a separate version for the extra argument.
> 
> Signed-off-by: Christoph Hellwig<hch at lst.de>
> Reviewed-by: Damien Le Moal<dlemoal at kernel.org>
> Reviewed-by: Hannes Reinecke<hare at suse.de>

FWIW,

Reviewed-by: John Garry <john.g.garry at oracle.com>



More information about the Linux-nvme mailing list