commit | b2141e6951ad56c8f65e70547baeabd5698e390a | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Fri Oct 16 16:40:34 2009 +1100 |
committer | NeilBrown <neilb@suse.de> | Fri Oct 16 16:40:34 2009 +1100 |
tree | cc0a000cb6bc1eee887a6e3de5d8073f471bf9b5 | |
parent | 5dd33c9a4c29015f6d87568d33521c98931a387e [diff] |
raid6/async_tx: handle holes in block list in async_syndrome_val 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>