aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChunwei Chen <[email protected]>2016-12-08 13:00:20 -0800
committerBrian Behlendorf <[email protected]>2016-12-08 14:00:20 -0700
commitf200b836734550ba258a0d7e05381dc8cebf80f4 (patch)
treea1abc270a47d214cf24a296c9cb1e7b657a2dac3 /include
parent493492559e32aa77ff8a5b32572afab5b848a53b (diff)
Add system_delay_taskq for long delay
Add a dedicated system_delay_taskq for long delay like spa_deadman and zpl_posix_acl_free. This will allow us to use system_taskq in the manner of dispatch multiple tasks and call taskq_wait_outstanding. Reviewed by: Brian Behlendorf <[email protected]> Signed-off-by: Chunwei Chen <[email protected]> Closes #588
Diffstat (limited to 'include')
-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 1eecda4d2..5adda8827 100644
--- a/include/sys/taskq.h
+++ b/include/sys/taskq.h
@@ -129,6 +129,8 @@ typedef struct taskq_thread {
/* Global system-wide dynamic task queue available for all consumers */
extern taskq_t *system_taskq;
+/* Global dynamic task queue for long delay */
+extern taskq_t *system_delay_taskq;
/* List of all taskqs */
extern struct list_head tq_list;