summaryrefslogtreecommitdiff
path: root/drivers/block/null_blk/main.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-05-27 15:36:20 +0300
committerJens Axboe <axboe@kernel.dk>2024-05-27 18:16:39 +0300
commitc8c1f7012b807ca4da0136eacab96961b56f25d5 (patch)
treefcd761caea1cb4f9560dea53799287cc3f939f82 /drivers/block/null_blk/main.c
parent5e7a4bbcc33d7df6bcc8565a8938c196285e5423 (diff)
downloadlinux-c8c1f7012b807ca4da0136eacab96961b56f25d5.tar.xz
dm: make dm_set_zones_restrictions work on the queue limits
Don't stuff the values directly into the queue without any synchronization, but instead delay applying the queue limits in the caller and let dm_set_zones_restrictions work on the limit structure. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Link: https://lore.kernel.org/r/20240527123634.1116952-4-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/null_blk/main.c')
0 files changed, 0 insertions, 0 deletions