]> www.infradead.org Git - users/hch/block.git/commit
dm: stop using blk_limits_io_{min,opt} dm-limits
authorChristoph Hellwig <hch@lst.de>
Sat, 22 Jun 2024 17:02:12 +0000 (19:02 +0200)
committerChristoph Hellwig <hch@lst.de>
Sat, 22 Jun 2024 17:06:32 +0000 (19:06 +0200)
commit2e7ccadac8309d7eb3977b32830d78200b89dbdf
treebbdd3dbb95b3925c6fec1dce1a8e1ad89ba940c3
parentb398f439dc8f6eeb855ba46842cb5d127f39ae77
dm: stop using blk_limits_io_{min,opt}

Remove use of the blk_limits_io_{min,opt} and assign the values directly
to the queue_limits structure.  For the io_opt this is a completely
mechanical change, for io_min it removes flooring the limit to the
physical and logical block size in the particular caller.  But as
blk_validate_limits will do the same later when actually applying the
limits, there still is no change in overall behavior.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/md/dm-cache-target.c
drivers/md/dm-clone-target.c
drivers/md/dm-ebs-target.c
drivers/md/dm-era-target.c
drivers/md/dm-integrity.c
drivers/md/dm-raid.c
drivers/md/dm-stripe.c
drivers/md/dm-thin.c
drivers/md/dm-vdo/dm-vdo-target.c
drivers/md/dm-verity-target.c
drivers/md/dm-zoned-target.c