summaryrefslogtreecommitdiffstats
path: root/drivers/md/multipath.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-05-11 06:34:56 +0200
committerNeilBrown <neilb@suse.de>2011-05-11 06:34:56 +0200
commit76073054c95b12af6bd0cc9b9462a265b45ba38f (patch)
tree78f830289dd8bb5337a7d3efa442ae44abd4dbab /drivers/md/multipath.h
parentmd: simplify raid10 read_balance (diff)
downloadlinux-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