diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-07-16 19:44:56 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2008-07-17 17:59:55 -0700 |
commit | 1e55db2d6bdef92abc981b68673564e63c80da4d (patch) | |
tree | ac3cd7c249735772df8c08b1d803563bad854527 /include/asm-s390/byteorder.h | |
parent | 20fc190b0ef58bf8b3b0bff9de122083956f82ec (diff) | |
download | kernel_samsung_aries-1e55db2d6bdef92abc981b68673564e63c80da4d.zip kernel_samsung_aries-1e55db2d6bdef92abc981b68673564e63c80da4d.tar.gz kernel_samsung_aries-1e55db2d6bdef92abc981b68673564e63c80da4d.tar.bz2 |
async_tx: ensure the xor destination buffer remains dma-mapped
When the number of source buffers for an xor operation exceeds the hardware
channel maximum async_xor creates a chain of dependent operations. The result
of one operation is reused as an input to the next to continue the xor
calculation. The destination buffer should remain mapped for the duration of
the entire chain. To provide this guarantee the code must no longer be allowed
to fallback to the synchronous path as this will preclude the buffer from being
unmapped, i.e. the dma-driver will potentially miss the descriptor with
!DMA_COMPL_SKIP_DEST_UNMAP.
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/asm-s390/byteorder.h')
0 files changed, 0 insertions, 0 deletions