• NeilBrown's avatar
    md/raid1: clean up read_balance. · 76073054
    NeilBrown authored
    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: default avatarNeilBrown <neilb@suse.de>
    76073054
raid1.c 58.3 KB