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.c42 vd->vdev_detached || vd->vdev_top->vdev_removing || in vdev_initialize_should_stop()
62 if (vd == NULL || vd->vdev_top->vdev_removing || in vdev_initialize_zap_update_sync()
105 if (vd == NULL || vd->vdev_top->vdev_removing || !vdev_is_concrete(vd)) in vdev_initialize_zap_remove_sync()
639 ASSERT(!vd->vdev_top->vdev_removing); in vdev_initialize()
674 ASSERT(!vd->vdev_top->vdev_removing); in vdev_uninitialize()
837 !vd->vdev_top->vdev_removing && in vdev_initialize_restart()
H A Dvdev_trim.c163 vd->vdev_detached || vd->vdev_top->vdev_removing || in vdev_trim_should_stop()
174 !vdev_writeable(tvd) || tvd->vdev_removing || in vdev_autotrim_should_stop()
219 if (vd == NULL || vd->vdev_top->vdev_removing || in vdev_trim_zap_update_sync()
1007 ASSERT(!vd->vdev_top->vdev_removing); in vdev_trim()
1175 vdev_writeable(vd) && !vd->vdev_top->vdev_removing && in vdev_trim_restart()
1505 if (vdev_writeable(tvd) && !tvd->vdev_removing && in vdev_autotrim()
1709 ASSERT(!vd->vdev_top->vdev_removing); in vdev_trim_l2arc()
1733 ASSERT(!vd->vdev_top->vdev_removing); in vdev_trim_simple()
H A Dvdev_removal.c348 else if (!vd->vdev_removing) in spa_vdev_alloc()
451 ASSERT(vd->vdev_removing); in vdev_remove_initiate_sync()
614 ASSERT(vd->vdev_removing); in spa_remove_init()
1354 ivd->vdev_removing = 0; in vdev_remove_replace_with_indirect()
1637 ASSERT(vd->vdev_removing); in spa_vdev_remove_thread()
2024 vd->vdev_removing = B_FALSE; in spa_vdev_remove_cancel_sync()
2167 vd->vdev_removing = B_TRUE; in spa_vdev_remove_log()
2244 if (vd->vdev_removing) in spa_vdev_remove_top_check()
2414 vd->vdev_removing = B_TRUE; in spa_vdev_remove_top()
H A Dvdev.c1038 &vd->vdev_removing); in vdev_alloc()
1264 ASSERT(vd->vdev_removing || in vdev_free()
1370 ASSERT0(tvd->vdev_removing); in vdev_top_transfer()
1373 tvd->vdev_removing = svd->vdev_removing; in vdev_top_transfer()
1389 svd->vdev_removing = 0; in vdev_top_transfer()
3733 !vd->vdev_top->vdev_removing) { in vdev_construct_zaps()
3770 if (vd->vdev_detached || vd->vdev_top->vdev_removing) { in vdev_dtl_sync()
4382 ASSERT(vd->vdev_removing || in vdev_sync()
4402 !vd->vdev_removing) { in vdev_sync()
4423 if (vd->vdev_islog && vd->vdev_stat.vs_alloc == 0 && vd->vdev_removing) in vdev_sync()
[all …]
H A Dspa_config.c498 (tvd->vdev_islog && tvd->vdev_removing)) in spa_config_update()
H A Dvdev_rebuild.c154 return (!vdev_writeable(vd) || vd->vdev_removing || in vdev_rebuild_should_stop()
1025 ASSERT(!vd->vdev_removing); in vdev_rebuild()
H A Dvdev_indirect.c326 ASSERT(vd->vdev_removing || vd->vdev_ops == &vdev_indirect_ops); in vdev_indirect_mark_obsolete()
817 ASSERT(vd->vdev_removing || vd->vdev_ops == &vdev_indirect_ops); in vdev_indirect_sync_obsolete()
H A Dvdev_label.c569 if (vd->vdev_removing && !vd->vdev_islog) { in vdev_config_generate()
571 vd->vdev_removing); in vdev_config_generate()
H A Dmetaslab.c2333 if (vd->vdev_removing) in metaslab_verify_weight_and_frag()
4589 if (free_space <= spa_get_slop_space(spa) || vd->vdev_removing || in metaslab_sync_done()
5781 ASSERT(!vd->vdev_removing); in metaslab_unalloc_dva()
H A Dspa.c9079 vd->vdev_top->vdev_removing || vd->vdev_top->vdev_rz_expanding)) {
9201 (vd->vdev_trim_thread != NULL || vd->vdev_top->vdev_removing ||
10968 ASSERT(vd->vdev_removing ||
/freebsd/sys/contrib/openzfs/include/sys/
H A Dvdev_impl.h262 uint64_t vdev_removing; /* device is being removed? */ member
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c7325 if (cvd->vdev_top->vdev_removing) in ztest_random_concrete_vdev_leaf()
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c8517 vd->vdev_removing); in verify_device_removal_feature_counts()