Home
last modified time | relevance | path

Searched refs:vdev_removing (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_initialize.c52 vd->vdev_detached || vd->vdev_top->vdev_removing || in vdev_initialize_should_stop()
72 if (vd == NULL || vd->vdev_top->vdev_removing || in vdev_initialize_zap_update_sync()
110 if (vd == NULL || vd->vdev_top->vdev_removing || !vdev_is_concrete(vd)) in vdev_initialize_zap_remove_sync()
637 ASSERT(!vd->vdev_top->vdev_removing); in vdev_initialize()
658 ASSERT(!vd->vdev_top->vdev_removing); in vdev_uninitialize()
809 !vd->vdev_top->vdev_removing && in vdev_initialize_restart()
H A Dvdev_trim.c173 vd->vdev_detached || vd->vdev_top->vdev_removing || in vdev_trim_should_stop()
184 !vdev_writeable(tvd) || tvd->vdev_removing || in vdev_autotrim_should_stop()
229 if (vd == NULL || vd->vdev_top->vdev_removing || in vdev_trim_zap_update_sync()
1014 ASSERT(!vd->vdev_top->vdev_removing); in vdev_trim()
1182 vdev_writeable(vd) && !vd->vdev_top->vdev_removing && in vdev_trim_restart()
1508 if (vdev_writeable(tvd) && !tvd->vdev_removing && in vdev_autotrim()
1710 ASSERT(!vd->vdev_top->vdev_removing); in vdev_trim_l2arc()
1734 ASSERT(!vd->vdev_top->vdev_removing); in vdev_trim_simple()
H A Dvdev_removal.c328 else if (!vd->vdev_removing) in spa_vdev_alloc()
429 ASSERT(vd->vdev_removing); in vdev_remove_initiate_sync()
592 ASSERT(vd->vdev_removing); in spa_remove_init()
1331 ivd->vdev_removing = 0; in vdev_remove_replace_with_indirect()
1614 ASSERT(vd->vdev_removing); in spa_vdev_remove_thread()
1991 vd->vdev_removing = B_FALSE; in spa_vdev_remove_cancel_sync()
2135 vd->vdev_removing = B_TRUE; in spa_vdev_remove_log()
2212 if (vd->vdev_removing) in spa_vdev_remove_top_check()
2382 vd->vdev_removing = B_TRUE; in spa_vdev_remove_top()
H A Dvdev.c958 &vd->vdev_removing); in vdev_alloc()
1172 ASSERT(vd->vdev_removing || in vdev_free()
1278 ASSERT0(tvd->vdev_removing); in vdev_top_transfer()
1281 tvd->vdev_removing = svd->vdev_removing; in vdev_top_transfer()
1297 svd->vdev_removing = 0; in vdev_top_transfer()
3476 !vd->vdev_top->vdev_removing) { in vdev_construct_zaps()
3513 if (vd->vdev_detached || vd->vdev_top->vdev_removing) { in vdev_dtl_sync()
4071 ASSERT(vd->vdev_removing || in vdev_sync()
4091 !vd->vdev_removing) { in vdev_sync()
4112 if (vd->vdev_islog && vd->vdev_stat.vs_alloc == 0 && vd->vdev_removing) in vdev_sync()
[all …]
H A Dvdev_rebuild.c164 return (!vdev_writeable(vd) || vd->vdev_removing || in vdev_rebuild_should_stop()
1024 ASSERT(!vd->vdev_removing); in vdev_rebuild()
H A Dspa_config.c598 (tvd->vdev_islog && tvd->vdev_removing)) in spa_config_update()
H A Dvdev_indirect.c330 ASSERT(vd->vdev_removing || vd->vdev_ops == &vdev_indirect_ops); in vdev_indirect_mark_obsolete()
821 ASSERT(vd->vdev_removing || vd->vdev_ops == &vdev_indirect_ops); in vdev_indirect_sync_obsolete()
H A Dvdev_label.c524 if (vd->vdev_removing && !vd->vdev_islog) { in vdev_config_generate()
526 vd->vdev_removing); in vdev_config_generate()
H A Dmetaslab.c2243 if (vd->vdev_removing) in metaslab_verify_weight_and_frag()
4463 if (free_space <= spa_get_slop_space(spa) || vd->vdev_removing || in metaslab_sync_done()
5608 ASSERT(!vd->vdev_removing); in metaslab_unalloc_dva()
H A Dspa.c8109 vd->vdev_top->vdev_removing || vd->vdev_top->vdev_rz_expanding)) {
8231 (vd->vdev_trim_thread != NULL || vd->vdev_top->vdev_removing ||
9857 ASSERT(vd->vdev_removing ||
/freebsd/sys/contrib/openzfs/include/sys/
H A Dvdev_impl.h279 uint64_t vdev_removing; /* device is being removed? */ member
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c7180 if (cvd->vdev_top->vdev_removing) in ztest_random_concrete_vdev_leaf()
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c7597 vd->vdev_removing); in verify_device_removal_feature_counts()