aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libzpool
diff options
context:
space:
mode:
authorBrian Behlendorf <behlendorf1@llnl.gov>2015-06-04 16:25:37 -0700
committerBrian Behlendorf <behlendorf1@llnl.gov>2015-06-11 10:27:25 -0700
commit4f34bd9792bad1affe5b93aeef406fd7dc2df0f8 (patch)
treebe479cb5f2c0848c41f1900b3e74ac4194c9f5bd /lib/libzpool
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 <behlendorf1@llnl.gov> Signed-off-by: Tim Chase <tim@chase2k.com>
Diffstat (limited to 'lib/libzpool')
-rw-r--r--lib/libzpool/taskq.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libzpool/taskq.c b/lib/libzpool/taskq.c
index d63bc28e2..c6fa2fff7 100644
--- a/lib/libzpool/taskq.c
+++ b/lib/libzpool/taskq.c
@@ -220,6 +220,12 @@ taskq_wait_id(taskq_t *tq, taskqid_t id)
taskq_wait(tq);
}
+void
+taskq_wait_outstanding(taskq_t *tq, taskqid_t id)
+{
+ taskq_wait(tq);
+}
+
static void
taskq_thread(void *arg)
{