diff options
author | NeilBrown <neilb@cse.unsw.edu.au> | 2005-09-09 16:23:40 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 16:39:09 -0700 |
commit | 3ec67ac1a399d576d48b0736096bcce7721fe3cf (patch) | |
tree | 6fbe7fb44b1455516a406cf0f0596ea29b62eac1 /drivers/sh | |
parent | 486a153f0e294f7cc735838edcb6b32e623cbe52 (diff) | |
download | blackbird-op-linux-3ec67ac1a399d576d48b0736096bcce7721fe3cf.tar.gz blackbird-op-linux-3ec67ac1a399d576d48b0736096bcce7721fe3cf.zip |
[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 <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions