https://github.com/torvalds/linux
Revision 32644afd8975d19174bcb9ba34687c32dd810a09 authored by NeilBrown on 03 July 2012, 05:58:42 UTC, committed by NeilBrown on 03 July 2012, 05:58:42 UTC
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>
1 parent fab363b
History
Tip revision: 32644afd8975d19174bcb9ba34687c32dd810a09 authored by NeilBrown on 03 July 2012, 05:58:42 UTC
md/raid1: fix bug in read_balance introduced by hot-replace
Tip revision: 32644af
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 208.2 KB
Makefile -rw-r--r-- 46.0 KB
README -rw-r--r-- 17.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top