Searched refs:spa_log_class (Results 1 – 8 of 8) sorted by relevance
140 metaslab_class_t *spa_log_class; /* intent log data class */ member
776 extern metaslab_class_t *spa_log_class(spa_t *spa);
1106 ASSERT(metaslab_class_validate(spa_log_class(spa)) == 0); in spa_vdev_config_exit()1690 spa_log_class(spa_t *spa) in spa_log_class() function1692 return (spa->spa_log_class); in spa_log_class()1903 return (spa->spa_log_class->mc_rotor != NULL); in spa_has_slogs()
1053 spa->spa_log_class = metaslab_class_create(spa, zfs_metaslab_ops); in spa_activate()1135 metaslab_class_destroy(spa->spa_log_class); in spa_deactivate()1136 spa->spa_log_class = NULL; in spa_deactivate()
525 spa_log_class(spa) : spa_normal_class(spa), vd); in vdev_alloc()
2523 error = metaslab_alloc(spa, spa_log_class(spa), size, in zio_alloc_zil()
2778 total_alloc = norm_alloc + metaslab_class_get_alloc(spa_log_class(spa)); in dump_block_stats()
2519 guid = spa_log_class(spa)->mc_rotor->mg_vd->vdev_guid; in ztest_vdev_add_remove()