Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/openzfs/module/os/freebsd/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_geom.c822 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_geom_open()
934 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED; in vdev_geom_open()
/f-stack/freebsd/contrib/openzfs/module/zfs/
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()
376 ASSERT0(rvd->vdev_child[c]->vdev_stat.vs_checkpoint_space); in spa_checkpoint_discard_is_done()
H A Dvdev.c1116 tvd->vdev_stat.vs_alloc = svd->vdev_stat.vs_alloc; in vdev_top_transfer()
1117 tvd->vdev_stat.vs_space = svd->vdev_stat.vs_space; in vdev_top_transfer()
1118 tvd->vdev_stat.vs_dspace = svd->vdev_stat.vs_dspace; in vdev_top_transfer()
1120 svd->vdev_stat.vs_alloc = 0; in vdev_top_transfer()
1121 svd->vdev_stat.vs_space = 0; in vdev_top_transfer()
1841 vd->vdev_stat.vs_aux); in vdev_open()
1844 vd->vdev_stat.vs_aux); in vdev_open()
3980 vd->vdev_stat.vs_aux = 0; in vdev_clear()
4278 vd->vdev_stat.vs_space = 0; in vdev_clear_stats()
4280 vd->vdev_stat.vs_alloc = 0; in vdev_clear_stats()
[all …]
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.c1210 ASSERT0(vd->vdev_stat.vs_space); in vdev_remove_complete()
1211 ASSERT0(vd->vdev_stat.vs_dspace); in vdev_remove_complete()
1889 if (vd->vdev_stat.vs_alloc != 0) in spa_vdev_remove_log()
1898 ASSERT0(vd->vdev_stat.vs_alloc); in spa_vdev_remove_log()
1952 ASSERT0(vd->vdev_stat.vs_alloc); in spa_vdev_remove_log()
1994 ASSERT3U(available, >=, vd->vdev_stat.vs_alloc); in spa_vdev_remove_top_check()
1995 if (available < vd->vdev_stat.vs_alloc) in spa_vdev_remove_top_check()
2002 vd->vdev_stat.vs_dspace + spa_get_slop_space(spa)) { in spa_vdev_remove_top_check()
H A Dvdev_mirror.c395 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_mirror_open()
419 vd->vdev_stat.vs_aux = VDEV_AUX_CHILDREN_OFFLINE; in vdev_mirror_open()
421 vd->vdev_stat.vs_aux = VDEV_AUX_NO_REPLICAS; in vdev_mirror_open()
H A Dvdev_trim.c381 vd->vdev_stat.vs_trim_errors++; in vdev_trim_cb()
414 vd->vdev_stat.vs_trim_errors++; in vdev_autotrim_cb()
444 vd->vdev_stat.vs_trim_errors++; in vdev_trim_simple_cb()
H A Dvdev_raidz.c1613 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_raidz_open()
1639 vd->vdev_stat.vs_aux = VDEV_AUX_NO_REPLICAS; in vdev_raidz_open()
1879 vd->vdev_stat.vs_checksum_errors++; in raidz_checksum_error()
2480 cvd->vdev_stat.vs_checksum_errors++; in vdev_raidz_io_done_unrecoverable()
H A Dzio_inject.c412 vd->vdev_stat.vs_aux = in zio_handle_device_injection_impl()
H A Dvdev_indirect.c1399 vd->vdev_stat.vs_checksum_errors++; in vdev_indirect_checksum_error()
1493 vd->vdev_stat.vs_checksum_errors++; in vdev_indirect_all_checksum_errors()
H A Dspa_misc.c1829 vd->vdev_stat.vs_dspace : vd->vdev_stat.vs_space; in spa_update_dspace()
2677 vdev_aux_t aux = rvd->vdev_stat.vs_aux; in spa_state_to_name()
H A Dvdev_initialize.c183 vd->vdev_stat.vs_initialize_errors++; in vdev_initialize_cb()
H A Dmetaslab.c735 vdev_stat_t *vs = &vd->vdev_stat; in metaslab_group_alloc_update()
999 vdev_stat_t *vs = &vd->vdev_stat; in metaslab_group_initialized()
4079 vd->vdev_stat.vs_checkpoint_space += in metaslab_sync()
4081 ASSERT3U(vd->vdev_stat.vs_checkpoint_space, ==, in metaslab_sync()
5192 if ((vd->vdev_stat.vs_write_errors > 0 || in metaslab_alloc_dva()
5225 vdev_stat_t *vs = &vd->vdev_stat; in metaslab_alloc_dva()
H A Dvdev_label.c588 uint64_t to_alloc = vd->vdev_stat.vs_alloc; in vdev_config_generate()
681 switch (vd->vdev_stat.vs_aux) { in vdev_config_generate()
H A Dvdev_rebuild.c144 vdev_stat_t *vs = &vd->vdev_stat; in clear_rebuild_bytes()
H A Dzio.c4270 zio->io_vd->vdev_stat.vs_checksum_errors++; in zio_checksum_verify()
4586 zio->io_vd->vdev_stat.vs_slow_ios++; in zio_done()
4610 zio->io_vd->vdev_stat.vs_read_errors++; in zio_done()
4612 zio->io_vd->vdev_stat.vs_write_errors++; in zio_done()
H A Dvdev_draid.c1730 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_draid_open()
1746 vd->vdev_stat.vs_aux = VDEV_AUX_NO_REPLICAS; in vdev_draid_open()
H A Dzfs_fm.c469 vdev_stat_t *vs = &vd->vdev_stat; in zfs_ereport_start()
H A Dspa.c2836 vd[i]->vdev_stat.vs_aux != VDEV_AUX_SPLIT_POOL) in spa_try_repair()
7969 vd->vdev_stat.vs_read_errors = 0;
7970 vd->vdev_stat.vs_write_errors = 0;
7971 vd->vdev_stat.vs_checksum_errors = 0;
H A Ddsl_scan.c735 scn->scn_phys.scn_to_examine = spa->spa_root_vdev->vdev_stat.vs_alloc; in dsl_scan_setup_sync()
/f-stack/freebsd/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.c180 v->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_disk_open()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dvdev_impl.h267 vdev_stat_t vdev_stat; /* virtual device statistics */ member
/f-stack/freebsd/contrib/openzfs/include/sys/fs/
H A Dzfs.h1053 typedef struct vdev_stat { struct