dm-raid: add a new helper prepare_suspend() in md_personality
authorYu Kuai <yukuai3@huawei.com>
Tue, 5 Mar 2024 07:23:04 +0000 (15:23 +0800)
committerSong Liu <song@kernel.org>
Tue, 5 Mar 2024 20:53:33 +0000 (12:53 -0800)
commit5625ff8b72b0e5c13b0fc1fc1f198155af45f729
tree66f85af194788d91e9d8a5405107cdd72a12f619
parentcd32b27a66db8776d8b8e82ec7d7dde97a8693b0
dm-raid: add a new helper prepare_suspend() in md_personality

There are no functional changes for now, prepare to fix a deadlock for
dm-raid456.

Cc: stable@vger.kernel.org # v6.7+
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Xiao Ni <xni@redhat.com>
Acked-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240305072306.2562024-8-yukuai1@huaweicloud.com
drivers/md/dm-raid.c
drivers/md/md.h