MCPcopy Create free account
hub / github.com/F-Stack/f-stack / taskq_wait

Function taskq_wait

freebsd/contrib/openzfs/module/os/linux/spl/spl-taskq.c:487–491  ·  view source on GitHub ↗

* The taskq_wait() function will block until the taskq is empty. * This means that if a taskq re-dispatches work to itself taskq_wait() * callers will block indefinitely. */

Source from the content-addressed store, hash-verified

485 * callers will block indefinitely.
486 */
487void
488taskq_wait(taskq_t *tq)
489{
490 wait_event(tq->tq_wait_waitq, taskq_wait_check(tq));
491}
492EXPORT_SYMBOL(taskq_wait);
493
494int

Callers 15

taskq_destroyFunction · 0.70
zfs_finiFunction · 0.50
zfs_ioc_createFunction · 0.50
vdev_open_children_implFunction · 0.50
arc_finiFunction · 0.50
dmu_buf_user_evict_waitFunction · 0.50
dsl_pool_sync_mosFunction · 0.50
dsl_pool_syncFunction · 0.50
spa_unloadFunction · 0.50
spa_export_commonFunction · 0.50
dmu_objset_create_syncFunction · 0.50
dmu_objset_syncFunction · 0.50

Calls 1

taskq_wait_checkFunction · 0.85

Tested by

no test coverage detected