diff options
author | NeilBrown <neilb@suse.de> | 2011-05-11 06:34:56 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-05-11 06:34:56 +0200 |
commit | 76073054c95b12af6bd0cc9b9462a265b45ba38f (patch) | |
tree | 78f830289dd8bb5337a7d3efa442ae44abd4dbab /drivers/md/multipath.h | |
parent | md: simplify raid10 read_balance (diff) | |
download | linux-76073054c95b12af6bd0cc9b9462a265b45ba38f.tar.xz linux-76073054c95b12af6bd0cc9b9462a265b45ba38f.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions