Christoph Hellwig 97894f7d3c md/raid1: 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 a separate helper function.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed--by: Song Liu <song@kernel.org>
Tested-by: Song Liu <song@kernel.org>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240303140150.5435-7-hch@lst.de
2024-03-06 08:59:53 -08:00
..
2023-11-17 14:41:14 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2024-03-01 08:54:42 -07:00
2023-02-14 14:23:06 -05:00
2024-01-11 13:58:04 -08:00
2024-03-06 08:59:53 -08:00
2024-03-06 08:59:53 -08:00
2024-03-06 08:59:53 -08:00
2024-03-06 08:59:53 -08:00