diff options
author | Christoph Hellwig <hch@lst.de> | 2024-05-27 15:36:20 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-05-27 18:16:39 +0300 |
commit | c8c1f7012b807ca4da0136eacab96961b56f25d5 (patch) | |
tree | fcd761caea1cb4f9560dea53799287cc3f939f82 /drivers/block/null_blk/main.c | |
parent | 5e7a4bbcc33d7df6bcc8565a8938c196285e5423 (diff) | |
download | linux-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