iop_adma: directly reclaim descriptors on allocation failure
commitc7141d005a19d2a0a316b3bf9c170d3bedf07bfd
authorDan Williams <dan.j.williams@intel.com>
Fri, 18 Jul 2008 00:59:56 +0000 (17 17:59 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 18 Jul 2008 00:59:56 +0000 (17 17:59 -0700)
treecac1072c6230a3c8f33213802f399a70fdc7e882
parent0839875e0c197ded56bbae820e699f26d6fa2697
iop_adma: directly reclaim descriptors on allocation failure

Force callers that trigger an "out of descriptors" condition to run the
cleanup loop directly.  Alleviates the requirement to have soft-irqs
enabled when polling for a descriptor in async_xor.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/iop-adma.c