]> git.baikalelectronics.ru Git - kernel.git/commit
md: tidy up device searches in read_balance.
authorNeilBrown <neilb@suse.de>
Mon, 6 Sep 2010 04:10:08 +0000 (14:10 +1000)
committerNeilBrown <neilb@suse.de>
Fri, 29 Oct 2010 05:40:33 +0000 (16:40 +1100)
commitf5cbe8796df517d05ed21f2f12ac879a03958bf1
treebb903d4265520d5c96a9ee08557dd7f92c1f08df
parent78bc96863bfbf3419840ca39b643f3049726cf5c
md: tidy up device searches in read_balance.

The code for searching through the device list to read-balance in
raid1 is rather clumsy and hard to follow.  Try to simplify it a bit.

No important functionality change here.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid1.c