NeilBrown 76073054c9 md/raid1: clean up read_balance.
read_balance has two loops which both look for a 'best'
device based on slightly different criteria.
This is clumsy and makes is hard to add extra criteria.

So replace it all with a single loop that combines everything.

Signed-off-by: NeilBrown <neilb@suse.de>
2011-05-11 14:34:56 +10:00
..
2011-03-31 11:26:23 -03:00
2011-03-24 13:54:24 +00:00
2011-03-10 08:52:27 +01:00
2011-03-10 08:52:27 +01:00
2010-08-12 04:14:11 +01:00
2011-03-10 08:52:07 +01:00
2011-03-31 11:26:23 -03:00
2011-03-24 13:54:35 +00:00
2011-04-05 23:52:43 +02:00
2007-10-20 02:01:26 +01:00
2010-08-12 04:14:12 +01:00
2011-03-31 11:26:23 -03:00
2011-03-24 13:54:24 +00:00
2011-03-24 13:54:24 +00:00
2011-05-11 14:34:56 +10:00
2010-10-29 16:40:33 +11:00
2011-04-21 10:00:00 -07:00
2011-04-18 18:25:42 +10:00
2011-05-11 14:27:03 +10:00
2011-03-31 11:26:23 -03:00