| /f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/ |
| H A D | vdev_disk.c | 405 zio->io_error = error; in vdev_disk_dio_put() 407 if (zio->io_error) in vdev_disk_dio_put() 643 zio->io_error = -error; in BIO_END_IO_PROTO() 646 if (zio->io_error && (zio->io_error == EOPNOTSUPP)) in BIO_END_IO_PROTO() 650 ASSERT3S(zio->io_error, >=, 0); in BIO_END_IO_PROTO() 651 if (zio->io_error) in BIO_END_IO_PROTO() 694 zio->io_error = ENXIO; in vdev_disk_io_start() 707 zio->io_error = ENXIO; in vdev_disk_io_start() 739 zio->io_error = error; in vdev_disk_io_start() 784 zio->io_error = error; in vdev_disk_io_start() [all …]
|
| H A D | vdev_file.c | 221 zio->io_error = err; in vdev_file_io_strategy() 222 if (resid != 0 && zio->io_error == 0) in vdev_file_io_strategy() 223 zio->io_error = SET_ERROR(ENOSPC); in vdev_file_io_strategy() 234 zio->io_error = zfs_file_fsync(vf->vf_file, O_SYNC | O_DSYNC); in vdev_file_io_fsync() 248 zio->io_error = SET_ERROR(ENXIO); in vdev_file_io_start() 273 zio->io_error = zfs_file_fsync(vf->vf_file, in vdev_file_io_start() 277 zio->io_error = SET_ERROR(ENOTSUP); in vdev_file_io_start() 289 zio->io_error = zfs_file_fallocate(vf->vf_file, in vdev_file_io_start()
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | vdev_file.c | 236 if (resid != 0 && zio->io_error == 0) in vdev_file_io_strategy() 237 zio->io_error = ENOSPC; in vdev_file_io_strategy() 251 zio->io_error = SET_ERROR(ENXIO); in vdev_file_io_start() 258 zio->io_error = zfs_file_fsync(vf->vf_file, in vdev_file_io_start() 262 zio->io_error = SET_ERROR(ENOTSUP); in vdev_file_io_start() 274 zio->io_error = zfs_file_fallocate(vf->vf_file, in vdev_file_io_start() 277 zio->io_error = SET_ERROR(ENOTSUP); in vdev_file_io_start()
|
| H A D | vdev_geom.c | 1013 zio->io_error = bp->bio_error; in vdev_geom_io_intr() 1014 if (zio->io_error == 0 && bp->bio_resid != 0) in vdev_geom_io_intr() 1015 zio->io_error = SET_ERROR(EIO); in vdev_geom_io_intr() 1017 switch (zio->io_error) { in vdev_geom_io_intr() 1075 zio->io_error = SET_ERROR(ENXIO); in vdev_geom_io_start() 1085 zio->io_error = SET_ERROR(ENOTSUP); in vdev_geom_io_start() 1090 zio->io_error = SET_ERROR(ENOTSUP); in vdev_geom_io_start() 1114 zio->io_error = SET_ERROR(ENXIO); in vdev_geom_io_start() 1168 ASSERT3S(zio->io_error, ==, ENXIO); in vdev_geom_io_done()
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | zio.c | 440 if (zio->io_error == 0) { in zio_decompress() 473 if (zio->io_error != 0) in zio_decrypt() 582 zio->io_error = ret; in zio_decrypt() 2251 error = zio->io_error; in zio_wait() 2310 pio->io_error = 0; in zio_reexecute() 2645 if (zio->io_error) in zio_gang_tree_assemble_done() 3230 if (zio->io_error) in zio_ddt_child_write_ready() 3970 zio->io_error = 0; in zio_vdev_io_assess() 4001 if ((zio->io_error == ENOTSUP || zio->io_error == ENOTTY) && in zio_vdev_io_assess() 4006 if (zio->io_error) in zio_vdev_io_assess() [all …]
|
| H A D | vdev_mirror.c | 315 zio->io_error = ENXIO; in vdev_mirror_map_init() 334 zio->io_error = ENXIO; in vdev_mirror_map_init() 440 mc->mc_error = zio->io_error; in vdev_mirror_child_done() 450 if (zio->io_error == 0) { in vdev_mirror_scrub_done() 466 mc->mc_error = zio->io_error; in vdev_mirror_scrub_done() 767 zio->io_error = vdev_mirror_worst_error(mm); in vdev_mirror_io_done() 791 zio->io_error = vdev_mirror_worst_error(mm); in vdev_mirror_io_done() 792 ASSERT(zio->io_error != 0); in vdev_mirror_io_done()
|
| H A D | spa_stats.c | 626 int io_error; /* error status of MMP write */ member 652 (u_longlong_t)smh->timestamp, (longlong_t)smh->io_error, in spa_mmp_history_show() 737 ASSERT3U(smh->io_error, !=, 0); in spa_mmp_history_set_skip() 754 spa_mmp_history_set(spa_t *spa, uint64_t mmp_node_id, int io_error, in spa_mmp_history_set() argument 768 ASSERT(smh->io_error == 0); in spa_mmp_history_set() 769 smh->io_error = io_error; in spa_mmp_history_set() 809 smh->io_error = error; in spa_mmp_history_add()
|
| H A D | vdev_missing.c | 73 zio->io_error = SET_ERROR(ENOTSUP); in vdev_missing_io_start()
|
| H A D | vdev_draid.c | 2667 if (pio->io_error == 0) in vdev_draid_spare_child_done() 2668 pio->io_error = zio->io_error; in vdev_draid_spare_child_done() 2752 zio->io_error = ENXIO; in vdev_draid_spare_io_start() 2774 zio->io_error = 0; in vdev_draid_spare_io_start() 2776 zio->io_error = SET_ERROR(EIO); in vdev_draid_spare_io_start() 2782 zio->io_error = SET_ERROR(ENXIO); in vdev_draid_spare_io_start() 2802 zio->io_error = 0; in vdev_draid_spare_io_start() 2804 zio->io_error = SET_ERROR(EIO); in vdev_draid_spare_io_start() 2810 zio->io_error = SET_ERROR(ENXIO); in vdev_draid_spare_io_start() 2827 zio->io_error = SET_ERROR(ENXIO); in vdev_draid_spare_io_start() [all …]
|
| H A D | vdev_indirect.c | 1187 pio->io_error = zio_worst_error(pio->io_error, zio->io_error); in vdev_indirect_child_io_done() 1247 if (zio->io_error != 0) { in vdev_indirect_read_split_done() 1787 zio->io_error = EIO; in vdev_indirect_reconstruct_io_done() 1804 zio->io_error = error; in vdev_indirect_reconstruct_io_done()
|
| H A D | mmp.c | 399 mmp_delay_update(spa, (zio->io_error == 0)); in mmp_write_done() 407 spa_mmp_history_set(spa, mmp_kstat_id, zio->io_error, in mmp_write_done()
|
| H A D | vdev_label.c | 1205 if (zio->io_error == 0) { in vdev_label_read_bootenv_done() 1465 if (zio->io_error == 0 && uberblock_verify(ub) == 0) { in vdev_uberblock_load_done() 1627 if (zio->io_error == 0 && zio->io_vd->vdev_top->vdev_ms_array != 0) in vdev_uberblock_sync_done() 1723 if (zio->io_error == 0) in vdev_label_sync_done() 1736 zio->io_error = SET_ERROR(EIO); in vdev_label_sync_top_done()
|
| H A D | dmu.c | 1500 if (zio->io_error == 0) { in dmu_sync_ready() 1533 if (zio->io_error == 0) { in dmu_sync_done() 1539 if (zio->io_error == 0) { in dmu_sync_done() 1575 dsa->dsa_done(dsa->dsa_zgd, zio->io_error); in dmu_sync_done() 1587 if (zio->io_error == 0) { in dmu_sync_late_arrival_done() 1606 dsa->dsa_done(dsa->dsa_zgd, zio->io_error); in dmu_sync_late_arrival_done()
|
| H A D | vdev_initialize.c | 167 if (zio->io_error == ENXIO && !vdev_writeable(vd)) { in vdev_initialize_cb() 182 if (zio->io_error != 0) in vdev_initialize_cb()
|
| H A D | vdev_trim.c | 370 if (zio->io_error == ENXIO && !vdev_writeable(vd)) { in vdev_trim_cb() 380 if (zio->io_error != 0) { in vdev_trim_cb() 413 if (zio->io_error != 0) { in vdev_autotrim_cb() 443 if (zio->io_error != 0) { in vdev_trim_simple_cb()
|
| H A D | vdev_raidz.c | 1687 rc->rc_error = zio->io_error; in vdev_raidz_child_done() 2011 if (zio->io_error == 0 && spa_writeable(zio->io_spa) && in vdev_raidz_io_done_verified() 2337 zio->io_error = zio_worst_error(zio->io_error, in vdev_raidz_io_done_write_impl() 2545 zio->io_error = vdev_raidz_combrec(zio); in vdev_raidz_io_done() 2546 if (zio->io_error == ECKSUM && in vdev_raidz_io_done()
|
| H A D | arc.c | 5713 if (zio->io_error == 0) { in arc_read_done() 5761 if (zio->io_error != 0) in arc_read_done() 5806 zio->io_error = error; in arc_read_done() 5827 if (zio->io_error == 0) { in arc_read_done() 5876 acb->acb_zio_dummy->io_error = zio->io_error; in arc_read_done() 6975 if (zio->io_error == 0) { in arc_write_done() 8271 if (zio->io_error != 0) { in l2arc_write_done() 8305 if (zio->io_error != 0) { in l2arc_write_done() 8326 if (zio->io_error != 0) { in l2arc_write_done() 8497 if (zio->io_error == 0) { in l2arc_read_done() [all …]
|
| H A D | zfs_fm.c | 282 search.re_io_error = zio->io_error; in zfs_ereport_is_duplicate() 567 DATA_TYPE_INT32, zio->io_error, NULL); in zfs_ereport_start() 1008 zio->io_error == ECKSUM && in zfs_ereport_is_valid()
|
| H A D | vdev_cache.c | 241 if (fio->io_error || ve->ve_missed_update) in vdev_cache_fill()
|
| H A D | vdev.c | 1492 if (zio->io_error == 0) in vdev_probe_done() 1494 if (zio->io_error == 0 && spa_writeable(spa)) { in vdev_probe_done() 1503 if (zio->io_error == 0) in vdev_probe_done() 1515 zio->io_error = 0; in vdev_probe_done() 1517 ASSERT(zio->io_error != 0); in vdev_probe_done() 1521 zio->io_error = SET_ERROR(ENXIO); in vdev_probe_done() 1532 pio->io_error = SET_ERROR(ENXIO); in vdev_probe_done() 4316 if (zio->io_error == 0) { in vdev_stat_update() 4455 if (zio->io_error == EIO && in vdev_stat_update()
|
| H A D | vdev_rebuild.c | 472 if (zio->io_error == ENXIO && !vdev_writeable(vd)) { in vdev_rebuild_cb() 482 } else if (zio->io_error) { in vdev_rebuild_cb()
|
| H A D | zio_checksum.c | 543 if (zio_injection_enabled && error == 0 && zio->io_error == 0) { in zio_checksum_error()
|
| H A D | dbuf.c | 1264 ASSERT(zio == NULL || zio->io_error != 0); in dbuf_read_done() 1271 ASSERT(zio == NULL || zio->io_error == 0); in dbuf_read_done() 1281 ASSERT(zio == NULL || zio->io_error == 0); in dbuf_read_done() 3139 ASSERT(zio == NULL || zio->io_error != 0); in dbuf_prefetch_indirect_done() 3142 ASSERT(zio == NULL || zio->io_error == 0); in dbuf_prefetch_indirect_done() 4074 if (zio->io_error != 0) in dbuf_lightweight_ready() 4131 VERIFY0(zio->io_error); in dbuf_lightweight_done() 4533 ASSERT0(zio->io_error); in dbuf_write_done()
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/zfs/sys/ |
| H A D | trace_common.h | 80 __entry->zio_error = zio->io_error; \
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | zio.h | 509 int io_error; member
|