]> www.infradead.org Git - users/hch/block.git/commit
md/raid5: use the atomic queue limit update APIs
authorChristoph Hellwig <hch@lst.de>
Mon, 26 Feb 2024 13:50:55 +0000 (14:50 +0100)
committerChristoph Hellwig <hch@lst.de>
Sat, 2 Mar 2024 14:12:00 +0000 (07:12 -0700)
commit017cdd5a7ddabfe42878fc61188faf526aef4f7c
tree545dd9a7fcf3a019401d062d66cefea5b260ec0a
parent04a78c5dbcd8deacdde264c4bff69c422caac606
md/raid5: use the atomic queue limit update APIs

Build the queue limits outside the queue and apply them using
queue_limits_set.  To make the code more obvious also split the queue
limits handling into separate helpers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed--by: Song Liu <song@kernel.org>
Tested-by: Song Liu <song@kernel.org>
drivers/md/raid5.c