]> www.infradead.org Git - users/hch/block.git/commit
dm: use queue_limits_set
authorChristoph Hellwig <hch@lst.de>
Fri, 23 Feb 2024 06:04:25 +0000 (07:04 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 26 Feb 2024 07:03:47 +0000 (08:03 +0100)
commit5abf91b7d2686529ae107d04462021e69e311656
treea87e2ee1916e24db6771369764bf8438dba640f4
parent5e6d0b0e0e9a89d21743c5350e08297843e84d0d
dm: use queue_limits_set

Use queue_limits_set which validates the limits and takes care of
updating the readahead settings instead of directly assigning them to
the queue.  For that make sure all limits are actually updated before
the assignment.

Signed-off-by: Christoph Hellwig <hch@lst.de>
block/blk-settings.c
drivers/md/dm-table.c