Skip to content
Commit 10d82c5f authored by NeilBrown's avatar NeilBrown
Browse files

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: default avatarNeilBrown <neilb@suse.de>
Fixes: ea664c82 ("md/raid5: need_this_block: tidy/fix last condition.")
parent b0c783b3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment