md/dm-raid: use new apis to suspend array
authorYu Kuai <yukuai3@huawei.com>
Tue, 10 Oct 2023 15:19:45 +0000 (23:19 +0800)
committerSong Liu <song@kernel.org>
Wed, 11 Oct 2023 01:49:50 +0000 (18:49 -0700)
commit4eb3327aa28f3a737c2d3f7e35e83575f1d52283
tree7403f996cab47bdfdc52990fb5f3d5228db8a96e
parentf45461e24febab5c2ba8f331e9eb109bb59cbdc1
md/dm-raid: use new apis to suspend array

Convert to use new apis, the old apis will be removed eventually.

These are not hot path, so performance is not concerned.

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20231010151958.145896-7-yukuai1@huaweicloud.com
drivers/md/dm-raid.c