aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-02-13 08:34:25 +0100
committerJens Axboe <axboe@kernel.dk>2024-02-13 08:56:59 -0700
commit473516b361936cbc27d7728df649a5b3094b6170 (patch)
tree88360da629757a3a9b13478e2dbf9635c8f2bca1 /include/linux/blkdev.h
parentloop: pass queue_limits to blk_mq_alloc_disk (diff)
downloadwireguard-linux-473516b361936cbc27d7728df649a5b3094b6170.tar.xz
wireguard-linux-473516b361936cbc27d7728df649a5b3094b6170.zip
loop: use the atomic queue limits update API
Pass the default limits to blk_mq_alloc_disk and then use the queue_limits_{start,commit}_update API to change the limits in an atomic way on existing loop gendisks. 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-16-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