]> www.infradead.org Git - users/hch/block.git/commit
md/raid10: use the atomic queue limit update APIs
authorChristoph Hellwig <hch@lst.de>
Mon, 26 Feb 2024 13:44:42 +0000 (14:44 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 26 Feb 2024 15:53:30 +0000 (10:53 -0500)
commit8635b258e9ed38bc01a0a06635e92873ab639d14
treee1297c297d4ce47b71e8c157781694109d7f06eb
parent64b750d7f38e4743b36f7012ffdf710f7bbc2aaf
md/raid10: 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>
drivers/md/raid10.c