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)
commitdb8d9d3591f77cc6b66248b2cdfa1c43deee5ec9
tree2b8e727bc5f74883620934d3334323ce501c853e
parent7571ae887d3b96d8e7ce63d43828866c6a91cdc6
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