HomeFreeBSD

Use taskq_wait_outstanding() function

Description

Use taskq_wait_outstanding() function

Replace taskq_wait() with taskq_wait_oustanding(). This way callers
will only block until previously submitted tasks have been completed.
This was the previous behavior of task_wait() prior to the introduction
of taskq_wait_outstanding() so this isn't really a functionalty change
for these callers.

Signed-off-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jun 5 2015, 6:26 PM
Parents
rG4f34bd9792ba: Add taskq_wait_outstanding() function
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGc5528b9ba622: Use taskq_wait_outstanding() function (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Jun 11 2015, 5:27 PM