diff options
author | Martin Wilck <mwilck@arcor.de> | 2013-04-24 03:42:42 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-04-24 03:42:42 +0200 |
commit | 7e83ccbecd608b971f340e951c9e84cd0343002f (patch) | |
tree | eccd87d8d0f04cbc3aa95c18c50b05aafc1d032c /drivers/md/md.c | |
parent | MD: Fix typos in MD documentation (diff) | |
download | linux-7e83ccbecd608b971f340e951c9e84cd0343002f.tar.xz linux-7e83ccbecd608b971f340e951c9e84cd0343002f.zip |
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: Martin Wilck <mwilck@arcor.de>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/md.c')
0 files changed, 0 insertions, 0 deletions