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<h...@lst.de>
Reviewed-by: Damien Le Moal<dlem...@kernel.org>
Reviewed-by: Hannes Reinecke<h...@suse.de>

FWIW,

Reviewed-by: John Garry <john.g.ga...@oracle.com>

Reply via email to