]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid1: minor bio initialisation improvements.
authorNeilBrown <neilb@suse.de>
Thu, 7 Oct 2010 01:00:50 +0000 (12:00 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 7 Oct 2010 01:00:50 +0000 (12:00 +1100)
commit204db1a73619621f6694fbe78f9dec24d26a8d9e
tree2b8e727bc5f74883620934d3334323ce501c853e
parentfa7593d7c0b96547de2012899823cfca6ab75ee4
md/raid1: minor bio initialisation improvements.

When performing a resync we pre-allocate some bios and repeatedly use
them.  This requires us to re-initialise them each time.
One field (bi_comp_cpu) and some flags weren't being initiaised
reliably.

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