Searched refs:spa_removing_phys (Results 1 – 6 of 6) sorted by relevance
153 sizeof (spa->spa_removing_phys) / sizeof (uint64_t), in spa_sync_removing_state()154 &spa->spa_removing_phys, tx)); in spa_sync_removing_state()449 spa->spa_removing_phys.sr_removing_vdev = vd->vdev_id; in vdev_remove_initiate_sync()450 spa->spa_removing_phys.sr_start_time = gethrestime_sec(); in vdev_remove_initiate_sync()451 spa->spa_removing_phys.sr_end_time = 0; in vdev_remove_initiate_sync()452 spa->spa_removing_phys.sr_state = DSS_SCANNING; in vdev_remove_initiate_sync()453 spa->spa_removing_phys.sr_to_copy = 0; in vdev_remove_initiate_sync()454 spa->spa_removing_phys.sr_copied = 0; in vdev_remove_initiate_sync()466 spa->spa_removing_phys.sr_to_copy += in vdev_remove_initiate_sync()473 spa->spa_removing_phys.sr_to_copy -= in vdev_remove_initiate_sync()[all …]
466 if (spa->spa_removing_phys.sr_state == DSS_SCANNING) in spa_checkpoint_check()
6497 spa->spa_removing_phys.sr_state = DSS_NONE;6498 spa->spa_removing_phys.sr_removing_vdev = -1;6499 spa->spa_removing_phys.sr_prev_indirect_vdev = -1;7337 spa->spa_removing_phys.sr_prev_indirect_vdev != -1) {10840 *in_progress = (spa->spa_removing_phys.sr_state ==
2826 vdevid = spa->spa_removing_phys.sr_prev_indirect_vdev; in spa_get_last_removal_txg()
86 typedef struct spa_removing_phys { struct332 spa_removing_phys_t spa_removing_phys; member
4221 while (spa->spa_removing_phys.sr_state == DSS_SCANNING) in ztest_device_removal()8483 (spa->spa_removing_phys.sr_state == DSS_SCANNING || in ztest_run()8484 spa->spa_removing_phys.sr_prev_indirect_vdev != -1)) { in ztest_run()8485 while (spa->spa_removing_phys.sr_state == DSS_SCANNING) in ztest_run()