Home
last modified time | relevance | path

Searched refs:vdev_stat (Results 1 – 25 of 25) sorted by relevance

/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Dvdev.c1231 tvd->vdev_stat.vs_alloc = svd->vdev_stat.vs_alloc; in vdev_top_transfer()
1232 tvd->vdev_stat.vs_space = svd->vdev_stat.vs_space; in vdev_top_transfer()
1233 tvd->vdev_stat.vs_dspace = svd->vdev_stat.vs_dspace; in vdev_top_transfer()
1235 svd->vdev_stat.vs_alloc = 0; in vdev_top_transfer()
1236 svd->vdev_stat.vs_space = 0; in vdev_top_transfer()
1603 vd->vdev_stat.vs_dspace : vd->vdev_stat.vs_space; in vdev_metaslab_init()
2067 vd->vdev_stat.vs_aux); in vdev_open()
2070 vd->vdev_stat.vs_aux); in vdev_open()
4468 vd->vdev_stat.vs_aux = 0; in vdev_clear()
4781 vd->vdev_stat.vs_space = 0; in vdev_clear_stats()
[all …]
H A Dspa_checkpoint.c245 ASSERT3U(vd->vdev_stat.vs_checkpoint_space, >=, sme->sme_run); in spa_checkpoint_discard_sync_callback()
248 vd->vdev_stat.vs_checkpoint_space -= sme->sme_run; in spa_checkpoint_discard_sync_callback()
269 vd->vdev_stat.vs_checkpoint_space; in spa_checkpoint_accounting_verify()
273 ASSERT0(vd->vdev_stat.vs_checkpoint_space); in spa_checkpoint_accounting_verify()
377 ASSERT0(rvd->vdev_child[c]->vdev_stat.vs_checkpoint_space); in spa_checkpoint_discard_is_done()
H A Dvdev_root.c92 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_root_open()
112 vd->vdev_stat.vs_aux = VDEV_AUX_NO_REPLICAS; in vdev_root_open()
H A Dvdev_removal.c176 vd->vdev_stat.vs_dspace : vd->vdev_stat.vs_space; in vdev_activate()
259 vd->vdev_stat.vs_dspace : vd->vdev_stat.vs_space; in vdev_passivate()
1370 vd->vdev_stat.vs_dspace : vd->vdev_stat.vs_space; in vdev_remove_complete()
1397 ASSERT0(vd->vdev_stat.vs_space); in vdev_remove_complete()
1398 ASSERT0(vd->vdev_stat.vs_dspace); in vdev_remove_complete()
2093 if (vd->vdev_stat.vs_alloc != 0) in spa_vdev_remove_log()
2103 ASSERT0(vd->vdev_stat.vs_alloc); in spa_vdev_remove_log()
2156 ASSERT0(vd->vdev_stat.vs_alloc); in spa_vdev_remove_log()
2203 ASSERT3U(available, >=, vd->vdev_stat.vs_alloc); in spa_vdev_remove_top_check()
2204 if (available < vd->vdev_stat.vs_alloc) in spa_vdev_remove_top_check()
[all …]
H A Dvdev_mirror.c394 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_mirror_open()
424 vd->vdev_stat.vs_aux = VDEV_AUX_CHILDREN_OFFLINE; in vdev_mirror_open()
426 vd->vdev_stat.vs_aux = VDEV_AUX_NO_REPLICAS; in vdev_mirror_open()
H A Dvdev_trim.c402 vd->vdev_stat.vs_trim_errors++; in vdev_trim_cb()
435 vd->vdev_stat.vs_trim_errors++; in vdev_autotrim_cb()
465 vd->vdev_stat.vs_trim_errors++; in vdev_trim_simple_cb()
H A Dvdev_raidz.c1513 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_raidz_open()
1545 vd->vdev_stat.vs_aux = VDEV_AUX_NO_REPLICAS; in vdev_raidz_open()
1774 vd->vdev_stat.vs_checksum_errors++; in vdev_raidz_checksum_error()
2385 cvd->vdev_stat.vs_checksum_errors++; in vdev_raidz_io_done_unrecoverable()
H A Dvdev_indirect.c1398 vd->vdev_stat.vs_checksum_errors++; in vdev_indirect_checksum_error()
1483 vd->vdev_stat.vs_checksum_errors++; in vdev_indirect_all_checksum_errors()
H A Dzio_inject.c412 vd->vdev_stat.vs_aux = in zio_handle_device_injection_impl()
H A Dvdev_initialize.c222 vd->vdev_stat.vs_initialize_errors++; in vdev_initialize_cb()
H A Dvdev_label.c624 uint64_t to_alloc = vd->vdev_stat.vs_alloc; in vdev_config_generate()
704 switch (vd->vdev_stat.vs_aux) { in vdev_config_generate()
H A Dmetaslab.c744 vdev_stat_t *vs = &vd->vdev_stat; in metaslab_group_alloc_update()
1005 vdev_stat_t *vs = &vd->vdev_stat; in metaslab_group_initialized()
4160 vd->vdev_stat.vs_checkpoint_space += in metaslab_sync()
4162 ASSERT3U(vd->vdev_stat.vs_checkpoint_space, ==, in metaslab_sync()
5254 vdev_stat_t *vs = &vd->vdev_stat; in metaslab_alloc_dva()
H A Dvdev_draid.c1550 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_draid_open()
1566 vd->vdev_stat.vs_aux = VDEV_AUX_NO_REPLICAS; in vdev_draid_open()
H A Dvdev_rebuild.c146 vdev_stat_t *vs = &vd->vdev_stat; in clear_rebuild_bytes()
H A Dzio.c4461 zio->io_vd->vdev_stat.vs_checksum_errors++; in zio_checksum_verify()
4781 zio->io_vd->vdev_stat.vs_slow_ios++; in zio_done()
4805 zio->io_vd->vdev_stat.vs_read_errors++; in zio_done()
4807 zio->io_vd->vdev_stat.vs_write_errors++; in zio_done()
H A Dzfs_fm.c548 vdev_stat_t *vs = &vd->vdev_stat; in zfs_ereport_start()
H A Dspa.c3297 vd[i]->vdev_stat.vs_aux != VDEV_AUX_SPLIT_POOL) in spa_try_repair()
8642 vd->vdev_stat.vs_read_errors = 0;
8643 vd->vdev_stat.vs_write_errors = 0;
8644 vd->vdev_stat.vs_checksum_errors = 0;
H A Dspa_misc.c2825 vdev_aux_t aux = rvd->vdev_stat.vs_aux; in spa_state_to_name()
H A Ddsl_scan.c877 scn->scn_phys.scn_to_examine = spa->spa_root_vdev->vdev_stat.vs_alloc; in dsl_scan_setup_sync()
/freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_file.c118 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_file_open()
146 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED; in vdev_file_open()
160 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED; in vdev_file_open()
169 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED; in vdev_file_open()
H A Dvdev_geom.c826 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_geom_open()
938 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED; in vdev_geom_open()
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/
H A Dvdev_file.c118 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_file_open()
145 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED; in vdev_file_open()
159 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED; in vdev_file_open()
168 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED; in vdev_file_open()
H A Dvdev_disk.c295 v->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_disk_open()
/freebsd-14.2/sys/contrib/openzfs/include/sys/
H A Dvdev_impl.h251 vdev_stat_t vdev_stat; /* virtual device statistics */ member
/freebsd-14.2/sys/contrib/openzfs/include/sys/fs/
H A Dzfs.h1192 typedef struct vdev_stat { struct