diff options
author | 2024-02-13 08:34:24 +0100 | |
---|---|---|
committer | 2024-02-13 08:56:59 -0700 | |
commit | 02aed4a1f2c355e41d82a8e9831031ca9e0eb45d (patch) | |
tree | e73cc42c016aa78d49a6cd5f92d0c6e7bfa61e3a /include/linux/blkdev.h | |
parent | loop: cleanup loop_config_discard (diff) | |
download | wireguard-linux-02aed4a1f2c355e41d82a8e9831031ca9e0eb45d.tar.xz wireguard-linux-02aed4a1f2c355e41d82a8e9831031ca9e0eb45d.zip |
loop: pass queue_limits to blk_mq_alloc_disk
Pass the max_hw_sector limit loop sets at initialization time directly to
blk_mq_alloc_disk instead of updating it right after the allocation.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20240213073425.1621680-15-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions