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.c807 vd->vdev_stat.vs_timestamp = gethrtime(); in vdev_alloc_common()
938 vd->vdev_stat.vs_aux = VDEV_AUX_EXTERNAL; in vdev_alloc()
1185 ASSERT0(vd->vdev_stat.vs_space); in vdev_free()
1186 ASSERT0(vd->vdev_stat.vs_dspace); in vdev_free()
1187 ASSERT0(vd->vdev_stat.vs_alloc); in vdev_free()
1329 tvd->vdev_stat.vs_alloc = svd->vdev_stat.vs_alloc; in vdev_top_transfer()
1330 tvd->vdev_stat.vs_space = svd->vdev_stat.vs_space; in vdev_top_transfer()
1331 tvd->vdev_stat.vs_dspace = svd->vdev_stat.vs_dspace; in vdev_top_transfer()
1333 svd->vdev_stat.vs_alloc = 0; in vdev_top_transfer()
1334 svd->vdev_stat.vs_space = 0; in vdev_top_transfer()
[all …]
H A Dspa_checkpoint.c246 ASSERT3U(vd->vdev_stat.vs_checkpoint_space, >=, sme->sme_run); in spa_checkpoint_discard_sync_callback()
249 vd->vdev_stat.vs_checkpoint_space -= sme->sme_run; in spa_checkpoint_discard_sync_callback()
270 vd->vdev_stat.vs_checkpoint_space; in spa_checkpoint_accounting_verify()
274 ASSERT0(vd->vdev_stat.vs_checkpoint_space); in spa_checkpoint_accounting_verify()
378 ASSERT0(rvd->vdev_child[c]->vdev_stat.vs_checkpoint_space); in spa_checkpoint_discard_is_done()
H A Dvdev_file.c129 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_file_open()
157 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED; in vdev_file_open()
171 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED; in vdev_file_open()
180 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()
113 vd->vdev_stat.vs_aux = VDEV_AUX_NO_REPLICAS; in vdev_root_open()
H A Dvdev_removal.c1429 ASSERT0(vd->vdev_stat.vs_space); in vdev_remove_complete()
1430 ASSERT0(vd->vdev_stat.vs_dspace); in vdev_remove_complete()
2144 if (vd->vdev_stat.vs_alloc != 0) in spa_vdev_remove_log()
2154 ASSERT0(vd->vdev_stat.vs_alloc); in spa_vdev_remove_log()
2207 ASSERT0(vd->vdev_stat.vs_alloc); in spa_vdev_remove_log()
2254 ASSERT3U(available, >=, vd->vdev_stat.vs_alloc); in spa_vdev_remove_top_check()
2255 if (available < vd->vdev_stat.vs_alloc) in spa_vdev_remove_top_check()
2261 if (available < vd->vdev_stat.vs_dspace) in spa_vdev_remove_top_check()
H A Dvdev_mirror.c395 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_mirror_open()
425 vd->vdev_stat.vs_aux = VDEV_AUX_CHILDREN_OFFLINE; in vdev_mirror_open()
427 vd->vdev_stat.vs_aux = VDEV_AUX_NO_REPLICAS; in vdev_mirror_open()
H A Dvdev_trim.c406 vd->vdev_stat.vs_trim_errors++; in vdev_trim_cb()
439 vd->vdev_stat.vs_trim_errors++; in vdev_autotrim_cb()
469 vd->vdev_stat.vs_trim_errors++; in vdev_trim_simple_cb()
H A Dvdev_raidz.c2179 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_raidz_open()
2218 vd->vdev_stat.vs_aux = VDEV_AUX_NO_REPLICAS; in vdev_raidz_open()
2753 vd->vdev_stat.vs_checksum_errors++; in vdev_raidz_checksum_error()
2930 svd->vdev_stat.vs_slow_ios++; in vdev_raidz_sit_child()
3767 cvd->vdev_stat.vs_checksum_errors++; in vdev_raidz_io_done_unrecoverable()
5253 pres->pres_to_reflow = vd->vdev_stat.vs_alloc; in spa_raidz_expand_get_stats()
H A Dvdev_indirect.c1400 vd->vdev_stat.vs_checksum_errors++; in vdev_indirect_checksum_error()
1485 vd->vdev_stat.vs_checksum_errors++; in vdev_indirect_all_checksum_errors()
H A Dvdev_initialize.c225 vd->vdev_stat.vs_initialize_errors++; in vdev_initialize_cb()
H A Dvdev_label.c639 uint64_t to_alloc = vd->vdev_stat.vs_alloc; in vdev_config_generate()
720 switch (vd->vdev_stat.vs_aux) { in vdev_config_generate()
H A Dzio_inject.c462 vd->vdev_stat.vs_aux = in zio_handle_device_injection_impl()
H A Dmetaslab.c560 vdev_stat_t *vs = &mg->mg_vd->vdev_stat; in metaslab_class_balance()
969 vdev_stat_t *vs = &vd->vdev_stat; in metaslab_group_alloc_update()
1234 vdev_stat_t *vs = &vd->vdev_stat; in metaslab_group_initialized()
4408 vd->vdev_stat.vs_checkpoint_space += in metaslab_sync()
4410 ASSERT3U(vd->vdev_stat.vs_checkpoint_space, ==, in metaslab_sync()
H A Dzio.c5262 zio->io_vd->vdev_stat.vs_checksum_errors++; in zio_checksum_verify()
5324 zio->io_vd->vdev_stat.vs_dio_verify_errors++; in zio_dio_chksum_verify_error_report()
5628 zio->io_vd->vdev_stat.vs_slow_ios++; in zio_done()
5656 zio->io_vd->vdev_stat.vs_read_errors++; in zio_done()
5658 zio->io_vd->vdev_stat.vs_write_errors++; in zio_done()
H A Dvdev_draid.c1539 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_draid_open()
1555 vd->vdev_stat.vs_aux = VDEV_AUX_NO_REPLICAS; in vdev_draid_open()
H A Dvdev_rebuild.c148 vdev_stat_t *vs = &vd->vdev_stat; in clear_rebuild_bytes()
H A Dzfs_fm.c552 vdev_stat_t *vs = &vd->vdev_stat; in zfs_ereport_start()
H A Dspa_misc.c2997 vdev_aux_t aux = rvd->vdev_stat.vs_aux; in spa_state_to_name()
H A Dspa.c3622 vd[i]->vdev_stat.vs_aux != VDEV_AUX_SPLIT_POOL) in spa_try_repair()
9236 vd->vdev_stat.vs_read_errors = 0;
9237 vd->vdev_stat.vs_write_errors = 0;
9238 vd->vdev_stat.vs_checksum_errors = 0;
H A Ddsl_scan.c899 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.c823 vd->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_geom_open()
935 vd->vdev_stat.vs_aux = VDEV_AUX_OPEN_FAILED; in vdev_geom_open()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dvdev_impl.h248 vdev_stat_t vdev_stat; /* virtual device statistics */ member
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dvdev_disk.c294 v->vdev_stat.vs_aux = VDEV_AUX_BAD_LABEL; in vdev_disk_open()
/freebsd/sys/contrib/openzfs/include/sys/fs/
H A Dzfs.h1273 typedef struct vdev_stat { struct
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c8210 uint64_t reflow_max = (rzvd->vdev_stat.vs_alloc * multiple) / 4; in ztest_raidz_expand_run()