Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev.c810 vd->vdev_stat.vs_timestamp = gethrtime(); in vdev_alloc_common()
941 vd->vdev_stat.vs_aux = VDEV_AUX_EXTERNAL; in vdev_alloc()
1207 ASSERT0(vd->vdev_stat.vs_space); in vdev_free()
1208 ASSERT0(vd->vdev_stat.vs_dspace); in vdev_free()
1209 ASSERT0(vd->vdev_stat.vs_alloc); in vdev_free()
1351 tvd->vdev_stat.vs_alloc = svd->vdev_stat.vs_alloc; in vdev_top_transfer()
1352 tvd->vdev_stat.vs_space = svd->vdev_stat.vs_space; in vdev_top_transfer()
1353 tvd->vdev_stat in vdev_top_transfer()
[all...]
H A Dspa_checkpoint.c236 ASSERT3U(vd->vdev_stat.vs_checkpoint_space, >=, sme->sme_run); in spa_checkpoint_discard_sync_callback()
239 vd->vdev_stat.vs_checkpoint_space -= sme->sme_run; in spa_checkpoint_discard_sync_callback()
260 vd->vdev_stat.vs_checkpoint_space; in spa_checkpoint_accounting_verify()
264 ASSERT0(vd->vdev_stat.vs_checkpoint_space); in spa_checkpoint_accounting_verify()
368 ASSERT0(rvd->vdev_child[c]->vdev_stat.vs_checkpoint_space); in spa_checkpoint_discard_is_done()
H A Dvdev_file.c123 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_file_open()
152 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED; in vdev_file_open()
166 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED; in vdev_file_open()
175 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED; in vdev_file_open()
H A Dvdev_root.c83 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_root_open()
103 vd->vdev_stat.vs_aux = VDEV_AUX_NO_REPLICAS; in vdev_root_open()
H A Dvdev_removal.c1419 ASSERT0(vd->vdev_stat.vs_space); in vdev_remove_complete()
1420 ASSERT0(vd->vdev_stat.vs_dspace); in vdev_remove_complete()
2152 if (vd->vdev_stat.vs_alloc != 0) in spa_vdev_remove_log()
2214 ASSERT0(vd->vdev_stat.vs_alloc); in spa_vdev_remove_log()
2261 ASSERT3U(available, >=, vd->vdev_stat.vs_alloc); in spa_vdev_remove_top_check()
2262 if (available < vd->vdev_stat.vs_alloc) in spa_vdev_remove_top_check()
2268 if (available < vd->vdev_stat.vs_dspace) in spa_vdev_remove_top_check()
H A Dvdev_mirror.c385 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_mirror_open()
415 vd->vdev_stat.vs_aux = VDEV_AUX_CHILDREN_OFFLINE; in vdev_mirror_open()
417 vd->vdev_stat.vs_aux = VDEV_AUX_NO_REPLICAS; in vdev_mirror_open()
H A Dvdev_trim.c396 vd->vdev_stat.vs_trim_errors++; in vdev_trim_cb()
429 vd->vdev_stat.vs_trim_errors++; in vdev_autotrim_cb()
459 vd->vdev_stat.vs_trim_errors++; in vdev_trim_simple_cb()
H A Dvdev_raidz.c2215 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_raidz_open()
2254 vd->vdev_stat.vs_aux = VDEV_AUX_NO_REPLICAS; in vdev_raidz_open()
2791 vd->vdev_stat.vs_checksum_errors++; in vdev_raidz_checksum_error()
2968 svd->vdev_stat.vs_slow_ios++; in vdev_raidz_sit_child()
3871 cvd->vdev_stat.vs_checksum_errors++; in vdev_raidz_io_done_unrecoverable()
5356 pres->pres_to_reflow = vd->vdev_stat.vs_alloc; in spa_raidz_expand_get_stats()
H A Dvdev_indirect.c1397 vd->vdev_stat.vs_checksum_errors++; in vdev_indirect_checksum_error()
1482 vd->vdev_stat.vs_checksum_errors++; in vdev_indirect_all_checksum_errors()
H A Dzio_inject.c452 vd->vdev_stat.vs_aux = in zio_handle_device_injection_impl()
H A Dvdev_initialize.c224 vd->vdev_stat.vs_initialize_errors++; in vdev_initialize_cb()
H A Dvdev_label.c682 uint64_t to_alloc = vd->vdev_stat.vs_alloc; in vdev_config_generate()
763 switch (vd->vdev_stat.vs_aux) { in vdev_config_generate()
H A Dmetaslab.c559 vdev_stat_t *vs = &mg->mg_vd->vdev_stat; in metaslab_class_balance()
990 vdev_stat_t *vs = &vd->vdev_stat; in metaslab_group_alloc_update()
1255 vdev_stat_t *vs = &vd->vdev_stat; in metaslab_group_initialized()
4443 vd->vdev_stat.vs_checkpoint_space += in metaslab_sync()
4445 ASSERT3U(vd->vdev_stat.vs_checkpoint_space, ==, in metaslab_sync()
H A Dvdev_rebuild.c138 vdev_stat_t *vs = &vd->vdev_stat; in clear_rebuild_bytes()
H A Dzio.c5660 zio->io_vd->vdev_stat.vs_checksum_errors++; in zio_checksum_verify()
5722 zio->io_vd->vdev_stat.vs_dio_verify_errors++; in zio_dio_chksum_verify_error_report()
6050 zio->io_vd->vdev_stat.vs_slow_ios++; in zio_done()
6078 zio->io_vd->vdev_stat.vs_read_errors++; in zio_done()
6080 zio->io_vd->vdev_stat.vs_write_errors++; in zio_done()
H A Dvdev_draid.c1695 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_draid_open()
1721 vd->vdev_stat.vs_aux = in vdev_draid_open()
H A Dzfs_fm.c542 vdev_stat_t *vs = &vd->vdev_stat; in zfs_ereport_start()
H A Dspa_misc.c3054 vdev_aux_t aux = rvd->vdev_stat.vs_aux; in spa_importing_readonly_checkpoint()
H A Dspa.c3740 vd[i]->vdev_stat.vs_aux != VDEV_AUX_SPLIT_POOL) in spa_try_repair()
10012 vd->vdev_stat.vs_read_errors = 0;
10013 vd->vdev_stat.vs_write_errors = 0;
10014 vd->vdev_stat.vs_checksum_errors = 0;
H A Ddsl_scan.c994 scn->scn_phys.scn_to_examine = spa->spa_root_vdev->vdev_stat.vs_alloc; in dsl_scan_setup_sync()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c808 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_geom_open()
927 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED; in vdev_geom_open()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dvdev_impl.h230 vdev_stat_t vdev_stat; /* virtual device statistics */ member
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dvdev_disk.c309 v->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_disk_open()
/freebsd/sys/contrib/openzfs/include/sys/fs/
H A Dzfs.h1408 typedef struct vdev_stat { struct
1409 vs_timestampvdev_stat global() argument
1410 vs_statevdev_stat global() argument
1411 vs_auxvdev_stat global() argument
1412 vs_allocvdev_stat global() argument
1413 vs_spacevdev_stat global() argument
1414 vs_dspacevdev_stat global() argument
1415 vs_rsizevdev_stat global() argument
1416 vs_esizevdev_stat global() argument
1417 vs_opsvdev_stat global() argument
1418 vs_bytesvdev_stat global() argument
1419 vs_read_errorsvdev_stat global() argument
1420 vs_write_errorsvdev_stat global() argument
1421 vs_checksum_errorsvdev_stat global() argument
1422 vs_initialize_errorsvdev_stat global() argument
1423 vs_self_healedvdev_stat global() argument
1447 vs_dio_verify_errorsvdev_stat global() argument
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c8624 uint64_t reflow_max = (rzvd->vdev_stat.vs_alloc * multiple) / 4; in ztest_raidz_expand_run()