Brian Behlendorf 9b51f21841 Remove TQ_SLEEP -> KM_SLEEP mapping
When the taskq code was originally written it seemed like a good
idea to simply map TQ_SLEEP to KM_SLEEP.  Unfortunately, this
assumed that the TQ_* flags would never confict with any of the
Linux GFP_* flags.  When adding the TQ_PUSHPAGE support in commit
cd5ca4b this invariant was accidentally broken.

Therefore to support TQ_PUSHPAGE, which is needed for Linux, and
prevent any further confusion I have removed this direct mapping.
The TQ_SLEEP, TQ_NOSLEEP, and TQ_PUSHPAGE are no longer defined
in terms of their KM_* counterparts.  Instead a simple mapping
function is introduce to convert TQ_* -> KM_* where needed.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #171
2012-09-12 11:41:42 -07:00
..
2012-08-27 11:46:23 -07:00
2012-08-27 11:46:23 -07:00
2012-08-27 11:46:23 -07:00
2012-08-27 11:46:23 -07:00
2012-09-12 11:41:42 -07:00
2012-08-27 11:46:23 -07:00
2012-08-27 11:46:23 -07:00
2010-05-17 15:18:00 -07:00
2012-02-09 16:41:46 -08:00
2010-05-17 15:18:00 -07:00
2010-07-20 13:29:35 -07:00
2011-06-21 14:02:46 -07:00
2010-05-17 15:18:00 -07:00
2010-05-17 15:18:00 -07:00