From: Martin Wilck Date: Wed, 24 Apr 2013 01:42:42 +0000 (+1000) Subject: md/raid10: Allow skipping recovery when clean arrays are assembled X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~89^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e83ccbecd608b971f340e951c9e84cd0343002f;p=pandora-kernel.git 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 Signed-off-by: NeilBrown --- Reading git-diff-tree failed