diff options
author | Li Nan <linan122@huawei.com> | 2023-06-27 04:43:32 +0300 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2023-07-27 10:13:30 +0300 |
commit | ffb1e7a03f966065323b18c96da23a2118a19529 (patch) | |
tree | 2d01975892cbe811b803af0ebbc5880418cd261b /drivers/md/dm-audit.h | |
parent | dd9a68601409d905810a936a7c4e1241b604013f (diff) | |
download | linux-ffb1e7a03f966065323b18c96da23a2118a19529.tar.xz |
md/raid1: prioritize adding disk to 'removed' mirror
New disk should be added to "removed" position first instead of to be a
replacement. Commit 6090368abcb4 ("md/raid10: prioritize adding disk to
'removed' mirror") has fixed this issue for raid10. Fix it for raid1 now.
Signed-off-by: Li Nan <linan122@huawei.com>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20230627014332.3810102-1-linan666@huaweicloud.com
Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'drivers/md/dm-audit.h')
0 files changed, 0 insertions, 0 deletions