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

Function vdev_queue_io_remove

freebsd/contrib/openzfs/module/zfs/vdev_queue.c:533–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

531}
532
533static void
534vdev_queue_io_remove(vdev_queue_t *vq, zio_t *zio)
535{
536 spa_t *spa = zio->io_spa;
537 spa_history_kstat_t *shk = &spa->spa_stats.io_history;
538
539 ASSERT3U(zio->io_priority, <, ZIO_PRIORITY_NUM_QUEUEABLE);
540 avl_remove(vdev_queue_class_tree(vq, zio->io_priority), zio);
541 avl_remove(vdev_queue_type_tree(vq, zio->io_type), zio);
542
543 if (shk->kstat != NULL) {
544 mutex_enter(&shk->lock);
545 kstat_waitq_exit(shk->kstat->ks_data);
546 mutex_exit(&shk->lock);
547 }
548}
549
550static boolean_t
551vdev_queue_is_interactive(zio_priority_t p)

Callers 2

vdev_queue_aggregateFunction · 0.85
vdev_queue_io_to_issueFunction · 0.85

Calls 6

avl_removeFunction · 0.85
vdev_queue_class_treeFunction · 0.85
vdev_queue_type_treeFunction · 0.85
mutex_enterFunction · 0.85
mutex_exitFunction · 0.85
kstat_waitq_exitFunction · 0.50

Tested by

no test coverage detected