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>
This commit is contained in:
Brian Behlendorf
2015-06-04 16:25:37 -07:00
parent ca0bf58d65
commit 4f34bd9792
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -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)
{