]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
md: Fix two raid10 bugs.
authorNeilBrown <neilb@suse.de>
Tue, 12 Jun 2007 01:09:29 +0000 (11:09 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 4 Aug 2007 16:10:23 +0000 (09:10 -0700)
commit9711bd8cc17e4f0791536d72c7f330af91672b86
tree07f3795d08bfaf7fa6fa90fbc669ab340c7d8f1e
parentb34eb784c379b9b78ebccc022ed5cc854c0da71e
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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/raid10.c