diff options
author | Christoph Hellwig <hch@lst.de> | 2024-02-13 10:34:18 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-02-13 18:56:59 +0300 |
commit | ad751ba1f8d5d4f4f4b429b552a154e888524a93 (patch) | |
tree | 737da9e252e9636dd01a91be08241409b4971943 /include/linux/blk-mq.h | |
parent | ff956a3be95b45b2a823693a8c9db740939ca35e (diff) | |
download | linux-ad751ba1f8d5d4f4f4b429b552a154e888524a93.tar.xz |
block: pass a queue_limits argument to blk_alloc_queue
Pass a queue_limits to blk_alloc_queue and apply it after validating and
capping the values using blk_validate_limits. This will allow allocating
queues with valid queue limits instead of setting the values one at a
time later.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20240213073425.1621680-9-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blk-mq.h')
0 files changed, 0 insertions, 0 deletions