MD: Allow restarting an interrupted incremental recovery.
authorAndrei Warkentin <andreiw@vmware.com>
Tue, 18 Oct 2011 01:16:48 +0000 (12:16 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 18 Oct 2011 01:16:48 +0000 (12:16 +1100)
If an incremental recovery was interrupted, a subsequent
re-add will result in a full recovery, even though an
incremental should be possible (seen with raid1).

Solve this problem by not updating the superblock on the
recovering device until array is not degraded any longer.

Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Andrei Warkentin <andreiw@vmware.com>
Signed-off-by: NeilBrown <neilb@suse.de>

No differences found