diff options
author | NeilBrown <neilb@suse.de> | 2011-05-11 14:34:56 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-05-11 14:34:56 +1000 |
commit | 76073054c95b12af6bd0cc9b9462a265b45ba38f (patch) | |
tree | 78f830289dd8bb5337a7d3efa442ae44abd4dbab /drivers/md/multipath.c | |
parent | 56d9912106b0974ffb6dd264c80c7e816677e998 (diff) | |
download | lwn-76073054c95b12af6bd0cc9b9462a265b45ba38f.tar.gz lwn-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 'drivers/md/multipath.c')
0 files changed, 0 insertions, 0 deletions