mirror_zfs/man
Rob N 76d1dde94c
zinject: inject device errors into ioctls
Adds 'ioctl' as a valid IO type for device error injection, so we can
simulate a flush error (which OpenZFS currently ignores, but that's by
the by).

To support this, adding ZIO_STAGE_VDEV_IO_DONE to ZIO_IOCTL_PIPELINE,
since that's where device error injection happens. This needs a small
exclusion to avoid the vdev_queue, since flushes are not queued, and I'm
assuming that the various failure responses are still reasonable for
flush failures (probes, media change, etc). This seems reasonable to me,
as a flush failure is not unlike a write failure in this regard, however
this may be too aggressive or subtle to assume in just this change.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #16061
2024-04-08 11:59:04 -07:00
..
man1 RAID-Z expansion feature 2023-11-08 10:19:41 -08:00
man4 zvol: use multiple taskq 2024-04-03 18:21:25 -07:00
man5 Consistentify miscellaneous style on remaining manpages 2021-06-09 14:35:53 -07:00
man7 vdev props comment and manpage should include zfsd and FreeBSD mentions 2024-04-03 17:56:34 -07:00
man8 zinject: inject device errors into ioctls 2024-04-08 11:59:04 -07:00
Makefile.am man: move zfs_prepare_disk.8 to nodist_man_MANS 2024-04-03 18:04:15 -07:00