Home
last modified time | relevance | path

Searched refs:io_type (Results 1 – 19 of 19) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dvdev_queue.c611 if (zio->io_type == ZIO_TYPE_READ) { in vdev_queue_pending_remove()
686 if (zio->io_type == ZIO_TYPE_READ) in vdev_queue_aggregate()
712 dio->io_type == zio->io_type) { in vdev_queue_aggregate()
739 dio->io_type == zio->io_type) { in vdev_queue_aggregate()
812 ASSERT3U(dio->io_type, ==, ZIO_TYPE_READ); in vdev_queue_aggregate()
853 ASSERT3U(dio->io_type, ==, aio->io_type); in vdev_queue_aggregate()
935 if (zio->io_type == ZIO_TYPE_READ) { in vdev_queue_io()
946 } else if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_queue_io()
957 ASSERT(zio->io_type == ZIO_TYPE_TRIM); in vdev_queue_io()
1026 if (zio->io_type == ZIO_TYPE_READ) { in vdev_queue_change_io_priority()
[all …]
H A Dvdev_mirror.c307 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_mirror_map_init()
635 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_mirror_io_start()
640 if (zio->io_type == ZIO_TYPE_READ) { in vdev_mirror_io_start()
657 zio->io_type, zio->io_priority, 0, in vdev_mirror_io_start()
669 ASSERT(zio->io_type == ZIO_TYPE_WRITE); in vdev_mirror_io_start()
697 zio->io_type, zio->io_priority, 0, in vdev_mirror_io_start()
741 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_mirror_io_done()
772 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_mirror_io_done()
H A Dvdev_draid.c941 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_alloc_scrub()
1003 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_alloc_read()
1030 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_draid_map_alloc_empty()
1274 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_draid_map_alloc_row()
2181 zio->io_type, zio->io_priority, 0, in vdev_draid_io_start_read()
2201 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_draid_io_start()
2206 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_draid_io_start()
2757 switch (zio->io_type) { in vdev_draid_spare_io_start()
2786 zio->io_type, zio->io_priority, 0, in vdev_draid_spare_io_start()
2814 zio->io_type, zio->io_priority, 0, in vdev_draid_spare_io_start()
[all …]
H A Dzio.c433 if (zio->io_type == ZIO_TYPE_READ) in zio_subblock()
865 zio->io_type = type; in zio_create()
1866 zio_type_t t = zio->io_type; in zio_taskq_dispatch()
3710 if (zio->io_type == ZIO_TYPE_WRITE) { in zio_vdev_io_start()
3815 (zio->io_type == ZIO_TYPE_READ || in zio_vdev_io_start()
3816 zio->io_type == ZIO_TYPE_WRITE || in zio_vdev_io_start()
3817 zio->io_type == ZIO_TYPE_TRIM)) { in zio_vdev_io_start()
3849 zio->io_type == ZIO_TYPE_WRITE || zio->io_type == ZIO_TYPE_TRIM); in zio_vdev_io_done()
3858 if (zio->io_type == ZIO_TYPE_WRITE) in zio_vdev_io_done()
4002 zio->io_type == ZIO_TYPE_IOCTL && in zio_vdev_io_assess()
[all …]
H A Dvdev_indirect.c1265 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_indirect_read_all()
1291 is->is_size, zio->io_type, zio->io_priority, 0, in vdev_indirect_read_all()
1310 if (zio->io_type != ZIO_TYPE_READ) { in vdev_indirect_io_start()
1311 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_indirect_io_start()
1344 zio->io_size, zio->io_type, zio->io_priority, 0, in vdev_indirect_io_start()
1348 if (zio->io_type == ZIO_TYPE_READ && in vdev_indirect_io_start()
1376 zio->io_type, zio->io_priority, 0, in vdev_indirect_io_start()
H A Dvdev_cache.c259 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_cache_read()
340 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_cache_write()
H A Dzio_inject.c265 if (zio->io_type != ZIO_TYPE_READ) in zio_handle_fault_injection()
352 ASSERT(zio->io_type == ZIO_TYPE_READ); in zio_inject_bitflip_cb()
396 handler->zi_record.zi_iotype != zio->io_type) in zio_handle_device_injection_impl()
H A Dvdev_raidz.c1744 rc->rc_abd, rc->rc_size, zio->io_type, zio->io_priority, in vdev_raidz_io_start_write()
1762 zio->io_type, zio->io_priority, in vdev_raidz_io_start_write()
1804 zio->io_type, zio->io_priority, 0, in vdev_raidz_io_start_read()
1848 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_io_start()
1851 ASSERT(zio->io_type == ZIO_TYPE_READ); in vdev_raidz_io_start()
1977 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_raidz_io_done_verified()
2314 ASSERT3U(zio->io_type, ==, ZIO_TYPE_WRITE); in vdev_raidz_io_done_write_impl()
2358 ASSERT3U(zio->io_type, ==, ZIO_TYPE_READ); in vdev_raidz_io_done_reconstruct_known_missing()
2443 zio->io_type, zio->io_priority, 0, in vdev_raidz_read_all()
2492 if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_raidz_io_done()
H A Dzfs_fm.c986 if (zio->io_type != ZIO_TYPE_READ && in zfs_ereport_is_valid()
987 zio->io_type != ZIO_TYPE_WRITE) in zfs_ereport_is_valid()
1007 if (zio->io_type == ZIO_TYPE_READ && in zfs_ereport_is_valid()
H A Dvdev.c1491 if (zio->io_type == ZIO_TYPE_READ) { in vdev_probe_done()
1502 } else if (zio->io_type == ZIO_TYPE_WRITE) { in vdev_probe_done()
1506 } else if (zio->io_type == ZIO_TYPE_NULL) { in vdev_probe_done()
4063 if (zio->io_type == ZIO_TYPE_READ) in vdev_accessible()
4066 if (zio->io_type == ZIO_TYPE_WRITE) in vdev_accessible()
4307 zio_type_t type = zio->io_type; in vdev_stat_update()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_file.c226 ASSERT(zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE); in vdev_file_io_strategy()
227 if (zio->io_type == ZIO_TYPE_READ) { in vdev_file_io_strategy()
248 if (zio->io_type == ZIO_TYPE_IOCTL) { in vdev_file_io_start()
267 } else if (zio->io_type == ZIO_TYPE_TRIM) { in vdev_file_io_start()
281 ASSERT(zio->io_type == ZIO_TYPE_READ || zio->io_type == ZIO_TYPE_WRITE); in vdev_file_io_start()
H A Dvdev_geom.c1055 if (zio->io_type != ZIO_TYPE_READ && zio->io_type != ZIO_TYPE_WRITE) { in vdev_geom_io_intr()
1071 switch (zio->io_type) { in vdev_geom_io_start()
1107 ASSERT(zio->io_type == ZIO_TYPE_READ || in vdev_geom_io_start()
1108 zio->io_type == ZIO_TYPE_WRITE || in vdev_geom_io_start()
1109 zio->io_type == ZIO_TYPE_TRIM || in vdev_geom_io_start()
1110 zio->io_type == ZIO_TYPE_IOCTL); in vdev_geom_io_start()
1120 switch (zio->io_type) { in vdev_geom_io_start()
1126 if (zio->io_type == ZIO_TYPE_READ) { in vdev_geom_io_start()
1149 panic("invalid zio->io_type: %d\n", zio->io_type); in vdev_geom_io_start()
1162 if (zio->io_type != ZIO_TYPE_READ && zio->io_type != ZIO_TYPE_WRITE) { in vdev_geom_io_done()
[all …]
/f-stack/freebsd/contrib/openzfs/cmd/zinject/
H A Dzinject.c748 int io_type = ZIO_TYPES; in main() local
942 io_type = ZIO_TYPE_READ; in main()
944 io_type = ZIO_TYPE_WRITE; in main()
946 io_type = ZIO_TYPE_FREE; in main()
948 io_type = ZIO_TYPE_CLAIM; in main()
950 io_type = ZIO_TYPES; in main()
1073 (record.zi_freq == 0 || io_type != ZIO_TYPE_READ)) { in main()
1080 record.zi_iotype = io_type; in main()
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dvdev_file.c212 if (zio->io_type == ZIO_TYPE_READ) { in vdev_file_io_strategy()
245 if (zio->io_type == ZIO_TYPE_IOCTL) { in vdev_file_io_start()
282 } else if (zio->io_type == ZIO_TYPE_TRIM) { in vdev_file_io_start()
H A Dvdev_disk.c164 zio->io_vd->vdev_path, zio->io_error, zio->io_type, in vdev_disk_error()
712 switch (zio->io_type) { in vdev_disk_io_start()
/f-stack/freebsd/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_common.h63 __entry->zio_type = zio->io_type; \
/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dliolib.c57 static int io_type (lua_State *L) { in io_type() function
490 {"type", io_type},
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dzio.h449 zio_type_t io_type; member
/f-stack/freebsd/contrib/openzfs/cmd/ztest/
H A Dztest.c2611 enum ztest_io_type io_type; in ztest_io() local
2622 io_type = ztest_random(ZTEST_IO_TYPES); in ztest_io()
2624 io_type = ZTEST_IO_WRITE_TAG; in ztest_io()
2628 switch (io_type) { in ztest_io()