]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
async_tx: avoid the async xor_zero_sum path when src_cnt > device->max_xor
authorDan Williams <dan.j.williams@intel.com>
Wed, 19 Mar 2008 04:23:59 +0000 (21:23 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 19 Mar 2008 00:01:00 +0000 (17:01 -0700)
commit8d8002f642886ae256a3c5d70fe8aff4faf3631a
tree81a3df533e7a0ad2d268b28fba1507e770df0f55
parentf79abb627f033c85a6088231f20c85bc4a9bd757
async_tx: avoid the async xor_zero_sum path when src_cnt > device->max_xor

If the channel cannot perform the operation in one call to
->device_prep_dma_zero_sum, then fallback to the xor+page_is_zero path.
This only affects users with arrays larger than 16 devices on iop13xx or
32 devices on iop3xx.

Cc: <stable@kernel.org>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
crypto/async_tx/async_xor.c