]> 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>
Mon, 26 Feb 2024 15:53:30 +0000 (10:53 -0500)
commit64b750d7f38e4743b36f7012ffdf710f7bbc2aaf
treed6c5f146120f397cc9cae29bd52b5b92ab4bb356
parent0d28a99a20454389e1f02ea183de9c94a6e187f5
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>
drivers/md/raid5.c