diff options
author | NeilBrown <neilb@suse.de> | 2007-06-16 10:16:06 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-06-16 13:16:15 -0700 |
commit | af03b8e4e81c3789e597632268940edd11ffe870 (patch) | |
tree | bf161f88b6d9dbdd484366b9640b500617db5ab3 /drivers/md/raid1.c | |
parent | edad01e2a1c527af3baf22dc6977aeb058881150 (diff) | |
download | blackbird-op-linux-af03b8e4e81c3789e597632268940edd11ffe870.tar.gz blackbird-op-linux-af03b8e4e81c3789e597632268940edd11ffe870.zip |
md: fix two raid10 bugs
1/ When resyncing a degraded raid10 which has more than 2 copies of each block,
garbage can get synced on top of good data.
2/ We round the wrong way in part of the device size calculation, which
can cause confusion.
Signed-off-by: Neil Brown <neilb@suse.de>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/md/raid1.c')
0 files changed, 0 insertions, 0 deletions