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<[email protected]>
Reviewed-by: Damien Le Moal<[email protected]>
Reviewed-by: Hannes Reinecke<[email protected]>
FWIW,
Reviewed-by: John Garry <[email protected]>