From: Dan Williams Date: Tue, 8 Jan 2008 23:32:53 +0000 (-0800) Subject: md: fix data corruption when a degraded raid5 array is reshaped X-Git-Tag: v2.6.24-rc8~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f94e87cdeaaac9f0f9a28a5dd2a5070b87cd3e8;p=pandora-kernel.git md: fix data corruption when a degraded raid5 array is reshaped We currently do not wait for the block from the missing device to be computed from parity before copying data to the new stripe layout. The change in the raid6 code is not techincally needed as we don't delay data block recovery in the same way for raid6 yet. But making the change now is safer long-term. This bug exists in 2.6.23 and 2.6.24-rc Cc: Signed-off-by: Dan Williams Acked-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed