diff options
author | Brian Behlendorf <[email protected]> | 2015-06-04 16:25:37 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-06-11 10:27:25 -0700 |
commit | 4f34bd9792bad1affe5b93aeef406fd7dc2df0f8 (patch) | |
tree | be479cb5f2c0848c41f1900b3e74ac4194c9f5bd /lib | |
parent | ca0bf58d65f77e944b9905571df9a2eae647aeca (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 'lib')
-rw-r--r-- | lib/libzpool/taskq.c | 6 |
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) { |