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()
638 ASSERT(!vd->vdev_top->vdev_removing); in vdev_initialize()
659 ASSERT(!vd->vdev_top->vdev_removing); in vdev_uninitialize()
810 !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()
1016 ASSERT(!vd->vdev_top->vdev_removing); in vdev_trim()
1184 vdev_writeable(vd) && !vd->vdev_top->vdev_removing && in vdev_trim_restart()
1514 if (vdev_writeable(tvd) && !tvd->vdev_removing && in vdev_autotrim()
1718 ASSERT(!vd->vdev_top->vdev_removing); in vdev_trim_l2arc()
1742 ASSERT(!vd->vdev_top->vdev_removing); in vdev_trim_simple()
H A Dvdev_removal.c322 else if (!vd->vdev_removing) in spa_vdev_alloc()
425 ASSERT(vd->vdev_removing); in vdev_remove_initiate_sync()
588 ASSERT(vd->vdev_removing); in spa_remove_init()
1328 ivd->vdev_removing = 0; in vdev_remove_replace_with_indirect()
1607 ASSERT(vd->vdev_removing); in spa_vdev_remove_thread()
1980 vd->vdev_removing = B_FALSE; in spa_vdev_remove_cancel_sync()
2124 vd->vdev_removing = B_TRUE; in spa_vdev_remove_log()
2201 if (vd->vdev_removing) in spa_vdev_remove_top_check()
2371 vd->vdev_removing = B_TRUE; in spa_vdev_remove_top()
H A Dvdev.c996 &vd->vdev_removing); in vdev_alloc()
1210 ASSERT(vd->vdev_removing || in vdev_free()
1316 ASSERT0(tvd->vdev_removing); in vdev_top_transfer()
1319 tvd->vdev_removing = svd->vdev_removing; in vdev_top_transfer()
1335 svd->vdev_removing = 0; in vdev_top_transfer()
3562 !vd->vdev_top->vdev_removing) { in vdev_construct_zaps()
3599 if (vd->vdev_detached || vd->vdev_top->vdev_removing) { in vdev_dtl_sync()
4158 ASSERT(vd->vdev_removing || in vdev_sync()
4178 !vd->vdev_removing) { in vdev_sync()
4199 if (vd->vdev_islog && vd->vdev_stat.vs_alloc == 0 && vd->vdev_removing) in vdev_sync()
[all …]
H A Dspa_config.c509 (tvd->vdev_islog && tvd->vdev_removing)) in spa_config_update()
H A Dvdev_rebuild.c164 return (!vdev_writeable(vd) || vd->vdev_removing || in vdev_rebuild_should_stop()
1025 ASSERT(!vd->vdev_removing); in vdev_rebuild()
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.c2312 if (vd->vdev_removing) in metaslab_verify_weight_and_frag()
4552 if (free_space <= spa_get_slop_space(spa) || vd->vdev_removing || in metaslab_sync_done()
5739 ASSERT(!vd->vdev_removing); in metaslab_unalloc_dva()
H A Dspa.c8343 vd->vdev_top->vdev_removing || vd->vdev_top->vdev_rz_expanding)) {
8465 (vd->vdev_trim_thread != NULL || vd->vdev_top->vdev_removing ||
10100 ASSERT(vd->vdev_removing ||
/freebsd/sys/contrib/openzfs/include/sys/
H A Dvdev_impl.h280 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.c7658 vd->vdev_removing); in verify_device_removal_feature_counts()