mirror_zfs/tests/zfs-tests/cmd
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
..
checksum SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
file FreeBSD: Add posix_fadvise(POSIX_FADV_WILLNEED) support 2025-05-29 09:34:07 -04:00
linux_dos_attributes SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
.gitignore Linux/vnops: implement STATX_DIOALIGN 2025-03-13 13:15:14 -04:00
badsend.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
btree_test.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
chg_usr_exec.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
clone_mmap_cached.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
clone_mmap_write.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
clonefile.c Multiple printf() size fixes (#17199) 2025-04-01 15:27:03 -07:00
cp_files.c tests: move C test helpers into test cmd 2022-04-01 18:01:39 -07:00
crypto_test.c ZTS: ICP encryption tests 2025-02-25 17:29:57 -08:00
ctime.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
devname2devid.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
dir_rd_update.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
dosmode_readonly_write.c FreeBSD: Reduce divergence from in-tree sources 2023-10-09 13:27:18 -07:00
draid.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
ereports.c events: include zio type in IO error reports 2025-05-30 10:29:29 -04:00
get_diff.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
getversion.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
idmap_util.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
libzfs_input_check.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
Makefile.am FreeBSD: Add posix_fadvise(POSIX_FADV_WILLNEED) support 2025-05-29 09:34:07 -04:00
manipulate_user_buffer.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
mkbusy.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
mkfile.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
mkfiles.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
mktree.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
mmap_exec.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
mmap_libaio.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
mmap_seek.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
mmap_sync.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
mmapwrite.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
nvlist_to_lua.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
readmmap.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
rename_dir.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
renameat2.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
rm_lnkcnt_zero_file.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
send_doall.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
statx.c tests: fix S_IFMT undeclared at statx.c 2025-05-02 17:49:25 -04:00
stride_dd.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
suid_write_to_file.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
threadsappend.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
truncate_test.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
user_ns_exec.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
xattrtest.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zed_fd_spill-zedlet.c Miscellaneous ZTS fixes 2022-09-29 08:56:42 -07:00
zfs_diff-socket.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00