Skip to content
Commit 7e83ccbe authored by Martin Wilck's avatar Martin Wilck Committed by NeilBrown
Browse files

md/raid10: Allow skipping recovery when clean arrays are assembled



When an array is assembled incrementally with mdadm -I -R
and the array switches to "active" mode, md starts a recovery.

If the array was clean, the "fullsync" flag will be 0. Skip
the full recovery in this case, as RAID1 does (the code was
actually copied from the sync_request() method of RAID1).

Signed-off-by: default avatarMartin Wilck <mwilck@arcor.de>
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent b6fec069
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment