mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 02:44:41 +03:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user