Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev.c996 tvd->vdev_stat.vs_alloc = svd->vdev_stat.vs_alloc; in vdev_top_transfer()
997 tvd->vdev_stat.vs_space = svd->vdev_stat.vs_space; in vdev_top_transfer()
998 tvd->vdev_stat.vs_dspace = svd->vdev_stat.vs_dspace; in vdev_top_transfer()
1000 svd->vdev_stat.vs_alloc = 0; in vdev_top_transfer()
1001 svd->vdev_stat.vs_space = 0; in vdev_top_transfer()
1002 svd->vdev_stat.vs_dspace = 0; in vdev_top_transfer()
1621 vd->vdev_stat.vs_aux); in vdev_open()
1624 vd->vdev_stat.vs_aux); in vdev_open()
3865 vd->vdev_stat.vs_space = 0; in vdev_clear_stats()
3867 vd->vdev_stat.vs_alloc = 0; in vdev_clear_stats()
[all …]
H A Dspa_checkpoint.c244 ASSERT3U(vd->vdev_stat.vs_checkpoint_space, >=, sme->sme_run); in spa_checkpoint_discard_sync_callback()
247 vd->vdev_stat.vs_checkpoint_space -= sme->sme_run; in spa_checkpoint_discard_sync_callback()
267 vd->vdev_stat.vs_checkpoint_space; in spa_checkpoint_accounting_verify()
271 ASSERT0(vd->vdev_stat.vs_checkpoint_space); in spa_checkpoint_accounting_verify()
373 ASSERT0(rvd->vdev_child[c]->vdev_stat.vs_checkpoint_space); in spa_checkpoint_discard_is_done()
H A Dvdev_file.c87 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_file_open()
114 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED; in vdev_file_open()
125 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED; in vdev_file_open()
137 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED; in vdev_file_open()
H A Dvdev_root.c93 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_mirror.c364 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_mirror_open()
386 vd->vdev_stat.vs_aux = VDEV_AUX_CHILDREN_OFFLINE; in vdev_mirror_open()
388 vd->vdev_stat.vs_aux = VDEV_AUX_NO_REPLICAS; in vdev_mirror_open()
H A Dvdev_removal.c1165 ASSERT0(vd->vdev_stat.vs_space); in vdev_remove_complete()
1166 ASSERT0(vd->vdev_stat.vs_dspace); in vdev_remove_complete()
1783 if (vd->vdev_stat.vs_alloc != 0) in spa_vdev_remove_log()
1792 ASSERT0(vd->vdev_stat.vs_alloc); in spa_vdev_remove_log()
1857 ASSERT0(vd->vdev_stat.vs_alloc); in spa_vdev_remove_log()
1905 if (available < vd->vdev_stat.vs_dspace + spa_get_slop_space(spa)) { in spa_vdev_remove_top_check()
H A Dvdev_disk.c310 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_disk_open()
519 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED; in vdev_disk_open()
677 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED; in vdev_disk_open()
H A Dvdev_trim.c375 vd->vdev_stat.vs_trim_errors++; in vdev_trim_cb()
412 vd->vdev_stat.vs_trim_errors++; in vdev_autotrim_cb()
H A Dzio_inject.c392 vd->vdev_stat.vs_aux = in zio_handle_device_injection()
H A Dvdev_indirect.c1378 vd->vdev_stat.vs_checksum_errors++; in vdev_indirect_checksum_error()
1459 vd->vdev_stat.vs_checksum_errors++; in vdev_indirect_all_checksum_errors()
H A Dmetaslab.c702 vdev_stat_t *vs = &vd->vdev_stat; in metaslab_group_alloc_update()
972 vdev_stat_t *vs = &vd->vdev_stat; in metaslab_group_initialized()
4015 vd->vdev_stat.vs_checkpoint_space += in metaslab_sync()
4017 ASSERT3U(vd->vdev_stat.vs_checkpoint_space, ==, in metaslab_sync()
5122 if ((vd->vdev_stat.vs_write_errors > 0 || in metaslab_alloc_dva()
5152 vdev_stat_t *vs = &vd->vdev_stat; in metaslab_alloc_dva()
H A Dvdev_label.c584 uint64_t to_alloc = vd->vdev_stat.vs_alloc; in vdev_config_generate()
672 switch (vd->vdev_stat.vs_aux) { in vdev_config_generate()
H A Dvdev_initialize.c172 vd->vdev_stat.vs_initialize_errors++; in vdev_initialize_cb()
H A Dvdev_raidz.c1578 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_raidz_open()
1602 vd->vdev_stat.vs_aux = VDEV_AUX_NO_REPLICAS; in vdev_raidz_open()
1957 vd->vdev_stat.vs_checksum_errors++; in raidz_checksum_error()
H A Dspa_misc.c1837 vd->vdev_stat.vs_dspace : vd->vdev_stat.vs_space; in spa_update_dspace()
H A Dspa.c2360 vd[i]->vdev_stat.vs_aux != VDEV_AUX_SPLIT_POOL) in spa_try_repair()
7521 vd->vdev_stat.vs_read_errors = 0;
7522 vd->vdev_stat.vs_write_errors = 0;
7523 vd->vdev_stat.vs_checksum_errors = 0;
H A Ddsl_scan.c739 scn->scn_phys.scn_to_examine = spa->spa_root_vdev->vdev_stat.vs_alloc; in dsl_scan_setup_sync()
H A Dzio.c4286 zio->io_vd->vdev_stat.vs_slow_ios++; in zio_done()
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dvdev_impl.h231 vdev_stat_t vdev_stat; /* virtual device statistics */ member
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c1553 } vdev_stat; member
1776 switch (vd.vdev_stat.vs_aux) { in do_print_vdev()
1846 vd.vdev_stat.vs_ops[i], in do_print_vdev()
1852 vd.vdev_stat.vs_bytes[i], in do_print_vdev()
1858 vd.vdev_stat.vs_read_errors); in do_print_vdev()
1860 vd.vdev_stat.vs_write_errors); in do_print_vdev()
1862 vd.vdev_stat.vs_checksum_errors); in do_print_vdev()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dzfs.h1043 typedef struct vdev_stat { struct