mirror_zfs/module/zcommon
Rob Norris 44e3266894
events: include zio type in IO error reports
Usually the IO type can be inferred from the other fields (in
particular, priority and flags) sometimes it's not easy to see. This is
just another little debug helper.

    May 27 2025 00:54:54.024110493 ereport.fs.zfs.data
            class = "ereport.fs.zfs.data"
            ena = 0x1f5ecfae600801
            ...
            zio_delta = 0x0
            zio_type = 0x2 [WRITE]
            zio_priority = 0x3 [ASYNC_WRITE]
            zio_objset = 0x0

Document zio_type and zio_priority.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #17381
2025-05-30 10:29:29 -04:00
..
cityhash.c SPDX: license tags: MIT 2025-03-13 17:56:54 -07:00
simd_stat.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfeature_common.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_comutil.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_deleg.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_fletcher_aarch64_neon.c SPDX: license tags: BSD-2-Clause OR GPL-2.0-only 2025-03-13 17:57:21 -07:00
zfs_fletcher_avx512.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_fletcher_intel.c SPDX: license tags: BSD-2-Clause OR GPL-2.0-only 2025-03-13 17:57:21 -07:00
zfs_fletcher_sse.c SPDX: license tags: BSD-2-Clause OR GPL-2.0-only 2025-03-13 17:57:21 -07:00
zfs_fletcher_superscalar4.c SPDX: license tags: BSD-2-Clause OR GPL-2.0-only 2025-03-13 17:57:21 -07:00
zfs_fletcher_superscalar.c SPDX: license tags: BSD-2-Clause OR GPL-2.0-only 2025-03-13 17:57:21 -07:00
zfs_fletcher.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_namecheck.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zfs_prop.c Allow opt-in of zvol blocks in special class 2025-05-24 16:44:26 -04:00
zfs_valstr.c events: include zio type in IO error reports 2025-05-30 10:29:29 -04:00
zpool_prop.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zprop_common.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00