diff options
| author | Christoph Hellwig <[email protected]> | 2024-02-13 07:34:19 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2024-02-13 15:56:59 +0000 |
| commit | 9ac4dd8c47d533eb420af6a679e66ec74771125c (patch) | |
| tree | 6b5b5e8709f382368160756db5ac5629d59e94cd /drivers/mmc/core/queue.c | |
| parent | block: pass a queue_limits argument to blk_alloc_queue (diff) | |
| download | kernel-9ac4dd8c47d533eb420af6a679e66ec74771125c.tar.gz kernel-9ac4dd8c47d533eb420af6a679e66ec74771125c.zip | |
block: pass a queue_limits argument to blk_mq_init_queue
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: Keith Busch <[email protected]>
Reviewed-by: John Garry <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/mmc/core/queue.c')
0 files changed, 0 insertions, 0 deletions
