From: Dan Williams Date: Thu, 10 Jul 2008 11:54:57 +0000 (-0700) Subject: md: ensure all blocks are uptodate or locked when syncing X-Git-Tag: v2.6.26~36^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a1fc53c5adb910751a9b212af90302eb4ffb527;p=pandora-kernel.git md: ensure all blocks are uptodate or locked when syncing Remove the dubious attempt to prefer 'compute' over 'read'. Not only is it wrong given commit c337869d (md: do not compute parity unless it is on a failed drive), but it can trigger a BUG_ON in handle_parity_checks5(). Cc: Signed-off-by: Dan Williams Signed-off-by: Neil Brown --- Reading git-diff-tree failed