Dan Williams 95475e5711 async_tx: remove walk of tx->parent chain in dma_wait_for_async_tx
We currently walk the parent chain when waiting for a given tx to
complete however this walk may race with the driver cleanup routine.
The routines in async_raid6_recov.c may fall back to the synchronous
path at any point so we need to be prepared to call async_tx_quiesce()
(which calls  dma_wait_for_async_tx).  To remove the ->parent walk we
guarantee that every time a dependency is attached ->issue_pending() is
invoked, then we can simply poll the initial descriptor until
completion.

This also allows for a lighter weight 'issue pending' implementation as
there is no longer a requirement to iterate through all the channels'
->issue_pending() routines as long as operations have been submitted in
an ordered chain.  async_tx_issue_pending() is added for this case.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2009-08-29 19:09:27 -07:00
..
2009-01-08 16:29:41 +00:00
2009-02-18 17:41:38 -08:00
2009-03-10 15:55:10 -07:00
2009-02-18 15:37:56 -08:00
2009-01-29 18:04:43 -08:00
2009-03-05 16:10:58 +01:00
2009-02-26 10:32:31 -08:00
2009-01-15 16:39:40 -08:00
2009-08-29 19:09:26 -07:00
2009-02-27 16:26:22 -08:00
2009-01-09 03:39:43 -05:00
2009-02-11 14:25:36 -08:00
2009-02-18 15:37:56 -08:00