From: NeilBrown Date: Wed, 11 May 2011 04:34:56 +0000 (+1000) Subject: md/raid1: clean up read_balance. X-Git-Tag: v3.0-rc1~358^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76073054c95b12af6bd0cc9b9462a265b45ba38f;p=pandora-kernel.git 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 --- Reading git-diff-tree failed