Home
last modified time | relevance | path

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

/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Dvdev_trim.c171 vd->vdev_detached || vd->vdev_top->vdev_removing); in vdev_trim_should_stop()
181 !vdev_writeable(tvd) || tvd->vdev_removing || in vdev_autotrim_should_stop()
205 if (vd == NULL || vd->vdev_top->vdev_removing || !vdev_is_concrete(vd)) in vdev_trim_zap_update_sync()
978 ASSERT(!vd->vdev_top->vdev_removing); in vdev_trim()
1141 vdev_writeable(vd) && !vd->vdev_top->vdev_removing && in vdev_trim_restart()
1457 if (vdev_writeable(tvd) && !tvd->vdev_removing && in vdev_autotrim()
1643 ASSERT(!vd->vdev_top->vdev_removing); in vdev_trim_l2arc()
1667 ASSERT(!vd->vdev_top->vdev_removing); in vdev_trim_simple()
H A Dvdev_initialize.c55 vd->vdev_detached || vd->vdev_top->vdev_removing); in vdev_initialize_should_stop()
74 if (vd == NULL || vd->vdev_top->vdev_removing || !vdev_is_concrete(vd)) in vdev_initialize_zap_update_sync()
600 ASSERT(!vd->vdev_top->vdev_removing); in vdev_initialize()
749 !vd->vdev_top->vdev_removing && in vdev_initialize_restart()
H A Dvdev_removal.c256 ASSERT(vd->vdev_removing); in vdev_remove_initiate_sync()
419 ASSERT(vd->vdev_removing); in spa_remove_init()
1156 ivd->vdev_removing = 0; in vdev_remove_replace_with_indirect()
1429 ASSERT(vd->vdev_removing); in spa_vdev_remove_thread()
1767 vd->vdev_removing = B_FALSE; in spa_vdev_remove_cancel_sync()
1916 vd->vdev_removing = B_TRUE; in spa_vdev_remove_log()
2182 vd->vdev_removing = B_TRUE; in spa_vdev_remove_top()
H A Dvdev.c871 &vd->vdev_removing); in vdev_alloc()
1084 ASSERT(vd->vdev_removing || in vdev_free()
1188 ASSERT0(tvd->vdev_removing); in vdev_top_transfer()
1190 tvd->vdev_removing = svd->vdev_removing; in vdev_top_transfer()
1205 svd->vdev_removing = 0; in vdev_top_transfer()
1507 if (!expanding && !vd->vdev_removing) { in vdev_metaslab_init()
3234 !vd->vdev_top->vdev_removing) { in vdev_construct_zaps()
3265 if (vd->vdev_detached || vd->vdev_top->vdev_removing) { in vdev_dtl_sync()
3746 ASSERT(vd->vdev_removing || in vdev_sync()
3766 !vd->vdev_removing) { in vdev_sync()
[all …]
H A Dvdev_rebuild.c160 return (!vdev_writeable(vd) || vd->vdev_removing || in vdev_rebuild_should_stop()
993 ASSERT(!vd->vdev_removing); in vdev_rebuild()
H A Dspa_config.c581 (tvd->vdev_islog && tvd->vdev_removing)) in spa_config_update()
H A Dvdev_label.c481 if (vd->vdev_removing) { in vdev_config_generate()
483 vd->vdev_removing); in vdev_config_generate()
641 !cvd->vdev_removing) in vdev_config_generate()
H A Dvdev_indirect.c329 ASSERT(vd->vdev_removing || vd->vdev_ops == &vdev_indirect_ops); in vdev_indirect_mark_obsolete()
820 ASSERT(vd->vdev_removing || vd->vdev_ops == &vdev_indirect_ops); in vdev_indirect_sync_obsolete()
H A Dmetaslab.c2093 if (vd->vdev_removing) in metaslab_verify_weight_and_frag()
4271 if (free_space <= spa_get_slop_space(spa) || vd->vdev_removing) { in metaslab_sync_done()
5552 ASSERT(!vd->vdev_removing); in metaslab_unalloc_dva()
H A Dspa.c7272 vd->vdev_top->vdev_removing)) {
7387 (vd->vdev_trim_thread != NULL || vd->vdev_top->vdev_removing)) {
8954 ASSERT(vd->vdev_removing ||
H A Dzio.c3769 if (zio->io_vd->vdev_removing) { in zio_vdev_io_start()
/freebsd-13.1/sys/contrib/openzfs/include/sys/
H A Dvdev_impl.h298 uint64_t vdev_removing; /* device is being removed? */ member
/freebsd-13.1/sys/contrib/openzfs/cmd/ztest/
H A Dztest.c6631 if (cvd->vdev_top->vdev_removing) in ztest_random_concrete_vdev_leaf()
/freebsd-13.1/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c6781 vd->vdev_removing); in verify_device_removal_feature_counts()