From: NeilBrown Date: Fri, 8 May 2015 08:19:33 +0000 (+1000) Subject: md/raid5: avoid reading parity blocks for full-stripe write to degraded array X-Git-Tag: omap-for-v4.2/wakeirq-drivers~2^2~39^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10d82c5f0d167ef75a2d8d7d4eed9ee43d3369c9;p=pandora-kernel.git md/raid5: avoid reading parity blocks for full-stripe write to degraded array When performing a reconstruct write, we need to read all blocks that are not being over-written .. except the parity (P and Q) blocks. The code currently reads these (as they are not being over-written!) unnecessarily. Signed-off-by: NeilBrown Fixes: ea664c8245f3 ("md/raid5: need_this_block: tidy/fix last condition.") --- Reading git-diff-tree failed