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
..
2008-01-11 08:16:56 +11:00
2008-12-25 11:05:13 +11:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2007-11-02 08:47:06 +01:00
2008-12-25 11:02:07 +11:00
2008-06-02 15:46:51 +10:00
2008-04-21 10:19:34 +08:00
2008-08-29 15:50:02 +10:00
2008-01-11 08:16:56 +11:00
2008-12-25 11:02:27 +11:00
2008-04-21 10:19:34 +08:00
2009-02-17 20:00:11 +08:00
2008-04-21 10:19:34 +08:00
2008-12-25 11:01:26 +11:00
2008-12-25 11:02:16 +11:00
2008-12-25 11:02:18 +11:00
2008-12-25 11:02:09 +11:00
2008-12-25 11:02:10 +11:00
2008-12-25 11:02:12 +11:00
2008-12-25 11:02:13 +11:00
2007-10-10 16:55:38 -07:00
2008-04-21 10:19:34 +08:00
2008-12-25 11:02:15 +11:00
2009-02-05 16:19:31 +11:00
2008-04-21 10:19:34 +08:00
2008-12-25 11:02:21 +11:00
2008-04-21 10:19:34 +08:00
2008-12-25 11:02:22 +11:00
2008-03-06 18:56:19 +08:00