From: Andrei Warkentin Date: Tue, 18 Oct 2011 01:16:48 +0000 (+1100) Subject: MD: Allow restarting an interrupted incremental recovery. X-Git-Tag: v3.2-rc1~154^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d70ed2e4fafdbef0800e73942482bb075c21578b;p=pandora-kernel.git MD: Allow restarting an interrupted incremental recovery. 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 Signed-off-by: Andrei Warkentin Signed-off-by: NeilBrown --- Reading git-diff-tree failed