raid6/async_tx: handle holes in block list in async_syndrome_val
authorNeilBrown <neilb@suse.de>
Fri, 16 Oct 2009 05:40:34 +0000 (16:40 +1100)
committerNeilBrown <neilb@suse.de>
Fri, 16 Oct 2009 05:40:34 +0000 (16:40 +1100)
async_syndrome_val check the P and Q blocks used for RAID6
calculations.
With DDF raid6, some of the data blocks might be NULL, so
this needs to be handled in the same way that async_gen_syndrome
handles it.

As async_syndrome_val calls async_xor, also enhance async_xor
to detect and skip NULL blocks in the list.

Signed-off-by: NeilBrown <neilb@suse.de>

No differences found