mirror_zfs/cmd/zpool
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
..
compatibility.d Update compatibility.d files 2024-10-02 20:59:35 -07:00
os GCC 15: Fix unterminated-string-initialization (#17244) 2025-04-16 09:33:29 -07:00
zpool.d zed: misc vdev_enc_sysfs_path fixes 2023-11-07 09:09:24 -08:00
Makefile.am Update compatibility.d files 2024-10-02 20:59:35 -07:00
zpool_iter.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zpool_main.c events: include zio type in IO error reports 2025-05-30 10:29:29 -04:00
zpool_util.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zpool_util.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zpool_vdev.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00