commit | af03b8e4e81c3789e597632268940edd11ffe870 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Sat Jun 16 10:16:06 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Sat Jun 16 13:16:15 2007 -0700 |
tree | bf161f88b6d9dbdd484366b9640b500617db5ab3 | |
parent | edad01e2a1c527af3baf22dc6977aeb058881150 [diff] |
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>