commit | 10d82c5f0d167ef75a2d8d7d4eed9ee43d3369c9 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Fri May 08 18:19:33 2015 +1000 |
committer | NeilBrown <neilb@suse.de> | Fri May 08 18:47:17 2015 +1000 |
tree | 0aa8aa74575cd2ff2028030fb830a8e73f5574c6 | |
parent | b0c783b32318bef29d64086fa812e8c659cb5b37 [diff] |
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 <neilb@suse.de> Fixes: ea664c8245f3 ("md/raid5: need_this_block: tidy/fix last condition.")