mirror_zfs/man
Rob Norris a28f5a94f4 zinject: add "probe" device injection type
Injecting a device probe failure is not possible by matching IO types,
because probe IO goes to the label regions, which is explicitly excluded
from injection. Even if it were possible, it would be awkward to do,
because a probe is sequence of reads and writes.

This commit adds a new IO "type" to match for injection, which looks for
the ZIO_FLAG_PROBE flag instead. Any probe IO will be match the
injection record and recieve the wanted error.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #16947
2025-02-25 22:29:33 +05:00
..
man1 arcstat: add structural, types, states breakdown 2024-09-18 11:44:18 -07:00
man4 Fix several typos in the man pages 2025-02-25 22:27:47 +05:00
man5 vdev_id: multi-lun disks & slot num zero pad 2024-10-09 13:44:55 -07:00
man7 Fix several typos in the man pages 2025-02-25 22:27:47 +05:00
man8 zinject: add "probe" device injection type 2025-02-25 22:29:33 +05:00
Makefile.am Add DDT prune command 2024-09-04 14:17:02 -07:00