Lines Matching refs:vdev_mg
531 vd->vdev_mg = metaslab_group_create(islog ?
634 if (vd->vdev_mg != NULL) {
636 metaslab_group_destroy(vd->vdev_mg);
715 if (tvd->vdev_mg)
716 ASSERT3P(tvd->vdev_mg, ==, svd->vdev_mg);
717 tvd->vdev_mg = svd->vdev_mg;
720 svd->vdev_mg = NULL;
723 if (tvd->vdev_mg != NULL)
724 tvd->vdev_mg->mg_vd = tvd;
901 error = metaslab_init(vd->vdev_mg, m, object, txg,
916 metaslab_group_activate(vd->vdev_mg);
931 metaslab_group_passivate(vd->vdev_mg);
2238 metaslab_group_t *mg = vd->vdev_mg;
2297 metaslab_sync_reassess(vd->vdev_mg);
2516 mg = tvd->vdev_mg;
2711 vd->vdev_mg->mg_initialized);
2760 vs->vs_fragmentation = vd->vdev_mg->mg_fragmentation;
2956 metaslab_group_t *mg = vd->vdev_mg;