Skip to content
Snippets Groups Projects
Commit ffb1e7a0 authored by Li Nan's avatar Li Nan Committed by Song Liu
Browse files

md/raid1: prioritize adding disk to 'removed' mirror


New disk should be added to "removed" position first instead of to be a
replacement. Commit 6090368a ("md/raid10: prioritize adding disk to
'removed' mirror") has fixed this issue for raid10. Fix it for raid1 now.

Signed-off-by: default avatarLi Nan <linan122@huawei.com>
Reviewed-by: default avatarYu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20230627014332.3810102-1-linan666@huaweicloud.com


Signed-off-by: default avatarSong Liu <song@kernel.org>
parent dd9a6860
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment