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@xxxxxx> Reviewed-by: Damien Le Moal<dlemoal@xxxxxxxxxx> Reviewed-by: Hannes Reinecke<hare@xxxxxxx>
FWIW, Reviewed-by: John Garry <john.g.garry@xxxxxxxxxx>