Searched refs:vdev_isspare (Results 1 – 7 of 7) sorted by relevance
1110 ASSERT(!vd->vdev_isspare); in spa_spare_add()1112 vd->vdev_isspare = B_TRUE; in spa_spare_add()1120 ASSERT(vd->vdev_isspare); in spa_spare_remove()1122 vd->vdev_isspare = B_FALSE; in spa_spare_remove()1142 ASSERT(vd->vdev_isspare); in spa_spare_activate()
1615 B_FALSE)) != NULL && tvd->vdev_isspare) in spa_load_spares()1657 if (!tvd->vdev_isspare) in spa_load_spares()5608 !bvd->vdev_isspare) {6286 if (oldvd->vdev_top->vdev_islog && newvd->vdev_isspare)6305 oldvd->vdev_isspare &&6321 newvd->vdev_isspare != oldvd->vdev_isspare) {6325 if (newvd->vdev_isspare)6398 if (newvd->vdev_isspare) {6405 newvd_isspare = newvd->vdev_isspare;6572 pvd->vdev_child[pvd->vdev_children - 1]->vdev_isspare)[all …]
430 if (vd->vdev_isspare) { in spa_config_generate()
470 if (vd->vdev_isspare) in vdev_config_generate()1051 (reason == VDEV_LABEL_REMOVE && vd->vdev_isspare)) { in vdev_label_init()1164 if (error == 0 && !vd->vdev_isspare && in vdev_label_init()
2665 if (vd->vdev_islog || vd->vdev_isspare || in dsl_scan_count_leaves()
914 if (vd->vdev_isspare) in vdev_free()
385 boolean_t vdev_isspare; /* was a hot spare */ member