]> git.proxmox.com Git - mirror_zfs.git/commit
Use taskq_wait_outstanding() function
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 5 Jun 2015 18:26:35 +0000 (11:26 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 11 Jun 2015 17:27:25 +0000 (10:27 -0700)
commitc5528b9ba622421a213e128704de4090fa0db773
tree8da399689252cb85f084a33e05a60c8a3f8ffb74
parent4f34bd9792bad1affe5b93aeef406fd7dc2df0f8
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>
module/zfs/metaslab.c
module/zfs/txg.c
module/zfs/zfs_vfsops.c