diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-01-08 15:32:53 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-01-08 16:10:35 -0800 |
commit | 0f94e87cdeaaac9f0f9a28a5dd2a5070b87cd3e8 (patch) | |
tree | 6c35efe23f565d27bec046d8eed3c5901e1d0090 /mm | |
parent | 5b7741b3325d0d94c88b2ad46657a536890aaa2f (diff) | |
download | linux-stable-0f94e87cdeaaac9f0f9a28a5dd2a5070b87cd3e8.tar.gz linux-stable-0f94e87cdeaaac9f0f9a28a5dd2a5070b87cd3e8.tar.bz2 linux-stable-0f94e87cdeaaac9f0f9a28a5dd2a5070b87cd3e8.zip |
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: <stable@kernel.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions