From: NeilBrown Date: Fri, 9 Sep 2005 23:23:40 +0000 (-0700) Subject: [PATCH] md: fix minor error in raid10 read-balancing calculation. X-Git-Tag: v2.6.14-rc1~255 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ec67ac1a399d576d48b0736096bcce7721fe3cf;p=pandora-kernel.git [PATCH] md: fix minor error in raid10 read-balancing calculation. 'this_sector' is a virtual (array) address while 'head_position' is a physical (device) address, so substraction doesn't make any sense. devs[slot].addr should be used instead of this_sector. However, this patch doesn't make much practical different to the read balancing due to the effects of later code. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed