aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/zfs_context.h
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2015-06-04 16:25:37 -0700
committerBrian Behlendorf <[email protected]>2015-06-11 10:27:25 -0700
commit4f34bd9792bad1affe5b93aeef406fd7dc2df0f8 (patch)
treebe479cb5f2c0848c41f1900b3e74ac4194c9f5bd /include/sys/zfs_context.h
parentca0bf58d65f77e944b9905571df9a2eae647aeca (diff)
Add taskq_wait_outstanding() function
SPL commit behlendorf/spl@9cef1b5 adds the taskq_wait_outstanding() interface. See the commit log for the full justification for this addition. This patch adds the required user space counterpart. Signed-off-by: Brian Behlendorf <[email protected]> Signed-off-by: Tim Chase <[email protected]>
Diffstat (limited to 'include/sys/zfs_context.h')
-rw-r--r--include/sys/zfs_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/zfs_context.h b/include/sys/zfs_context.h
index 761b1d57a..8b9a5f46f 100644
--- a/include/sys/zfs_context.h
+++ b/include/sys/zfs_context.h
@@ -468,6 +468,7 @@ extern void taskq_init_ent(taskq_ent_t *);
extern void taskq_destroy(taskq_t *);
extern void taskq_wait(taskq_t *);
extern void taskq_wait_id(taskq_t *, taskqid_t);
+extern void taskq_wait_outstanding(taskq_t *, taskqid_t);
extern int taskq_member(taskq_t *, kthread_t *);
extern int taskq_cancel_id(taskq_t *, taskqid_t);
extern void system_taskq_init(void);