summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2010-06-28 11:39:43 -0700
committerBrian Behlendorf <[email protected]>2010-06-28 11:39:43 -0700
commit5be4767ae1cc1b864faad47eda7009193a60759e (patch)
tree6023b841d6f4f1069cb62359dceefafb3eeb0b97
parente6de04b73cfaa1b17eee531d472cbbd37c247502 (diff)
Accept but ignore TASKQ_DC_BATCH and TQ_FRONT
For the moment the SPL accepts the TASKQ_DC_BATCH and TQ_FRONT flags however they get silently ignored. This is harmless for the moment but it does need to be implemented at some point.
-rw-r--r--include/sys/taskq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/taskq.h b/include/sys/taskq.h
index baa96eaa0..4e51d98dd 100644
--- a/include/sys/taskq.h
+++ b/include/sys/taskq.h
@@ -39,6 +39,7 @@
#define TASKQ_CPR_SAFE 0x00000002
#define TASKQ_DYNAMIC 0x00000004
#define TASKQ_THREADS_CPU_PCT 0x00000008
+#define TASKQ_DC_BATCH 0x00000010
typedef unsigned long taskqid_t;
typedef void (task_func_t)(void *);
@@ -53,6 +54,7 @@ typedef void (task_func_t)(void *);
#define TQ_NOQUEUE 0x01000000
#define TQ_NOALLOC 0x02000000
#define TQ_NEW 0x04000000
+#define TQ_FRONT 0x08000000
#define TQ_ACTIVE 0x80000000
typedef struct taskq {