diff options
author | NeilBrown <neilb@suse.de> | 2012-07-03 05:58:42 (GMT) |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-07-03 05:58:42 (GMT) |
commit | 32644afd8975d19174bcb9ba34687c32dd810a09 (patch) | |
tree | 10c55615d0edcb34af0dd2b9d1cdf09cbf34b45d /drivers/atm/he.c | |
parent | fab363b5ff502d1b39ddcfec04271f5858d9f26e (diff) | |
download | linux-fsl-qoriq-32644afd8975d19174bcb9ba34687c32dd810a09.tar.xz |
md/raid1: fix bug in read_balance introduced by hot-replace
When we added hot_replace we doubled the number of devices
that could be in a RAID1 array. So we doubled how far read_balance
would search. Unfortunately we didn't double the point at which
it looped back to the beginning - so it effectively loops over
all non-replacement disks twice.
This doesn't cause bad behaviour, but it pointless and means we
never read from replacement devices.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/atm/he.c')
0 files changed, 0 insertions, 0 deletions