Searched refs:spa_log_class (Results 1 – 8 of 8) sorted by relevance
141 metaslab_class_t *spa_log_class; /* intent log data class */ member
786 extern metaslab_class_t *spa_log_class(spa_t *spa);
1114 ASSERT(metaslab_class_validate(spa_log_class(spa)) == 0); in spa_vdev_config_exit()1698 spa_log_class(spa_t *spa) in spa_log_class() function1700 return (spa->spa_log_class); in spa_log_class()1911 return (spa->spa_log_class->mc_rotor != NULL); in spa_has_slogs()
1054 spa->spa_log_class = metaslab_class_create(spa, zfs_metaslab_ops); in spa_activate()1136 metaslab_class_destroy(spa->spa_log_class); in spa_deactivate()1137 spa->spa_log_class = NULL; in spa_deactivate()
526 spa_log_class(spa) : spa_normal_class(spa), vd); in vdev_alloc()
2591 error = metaslab_alloc(spa, spa_log_class(spa), size, in zio_alloc_zil()
2781 total_alloc = norm_alloc + metaslab_class_get_alloc(spa_log_class(spa)); in dump_block_stats()
2520 guid = spa_log_class(spa)->mc_rotor->mg_vd->vdev_guid; in ztest_vdev_add_remove()