aboutsummaryrefslogtreecommitdiff
path: root/drivers/md/dm-verity.h
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2023-05-12 09:56:06 +0800
committerSong Liu <song@kernel.org>2023-06-13 15:13:20 -0700
commit46038b30b308c3ebf49e79548f109d00a8d74b31 (patch)
treed19ec2b9000bfd0be0735c9c743ba72c4791fa1f /drivers/md/dm-verity.h
parent301867b1c16805aebbc306aafa6ecdc68b73c7e5 (diff)
md/raid5: don't allow replacement while reshape is in progress
If reshape is interrupted(for example, echo frozen to sync_action), then rdev replacement can be set. It's safe because reshape is always prior to resync in md_check_recovery(). However, if system reboots, then kernel will complain cannot handle concurrent replacement and reshape and this array is not able to assemble anymore. Fix this problem by don't allow replacement until reshape is done. Reported-by: Peter Neuwirth <reddunur@online.de> Link: https://lore.kernel.org/linux-raid/e2f96772-bfbc-f43b-6da1-f520e5164536@online.de/ Signed-off-by: Yu Kuai <yukuai3@huawei.com> Signed-off-by: Song Liu <song@kernel.org> Link: https://lore.kernel.org/r/20230512015610.821290-2-yukuai1@huaweicloud.com
Diffstat (limited to 'drivers/md/dm-verity.h')
0 files changed, 0 insertions, 0 deletions