aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1.c
diff options
context:
space:
mode:
authorLi Nan <[email protected]>2025-02-13 13:15:30 +0000
committerYu Kuai <[email protected]>2025-02-15 11:45:39 +0000
commit4b10a3bc67c1232f76aa1e04778ca26d6c0ddf7f (patch)
treefea6d72d070f5bd3eb895ed7a1f63e571a88cc73 /drivers/md/raid1.c
parentblock: refactor rq_qos_wait() (diff)
downloadkernel-4b10a3bc67c1232f76aa1e04778ca26d6c0ddf7f.tar.gz
kernel-4b10a3bc67c1232f76aa1e04778ca26d6c0ddf7f.zip
md: ensure resync is prioritized over recovery
If a new disk is added during resync, the resync process is interrupted, and recovery is triggered, causing the previous resync to be lost. In reality, disk addition should not terminate resync, fix it. Steps to reproduce the issue: mdadm -CR /dev/md0 -l1 -n3 -x1 /dev/sd[abcd] mdadm --fail /dev/md0 /dev/sdc Fixes: 24dd469d728d ("[PATCH] md: allow a manual resync with md") Signed-off-by: Li Nan <[email protected]> Reviewed-by: Yu Kuai <[email protected]> Link: https://lore.kernel.org/linux-raid/[email protected] Signed-off-by: Yu Kuai <[email protected]>
Diffstat (limited to 'drivers/md/raid1.c')
0 files changed, 0 insertions, 0 deletions