Files
mirror_zfs/include/sys
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
..
2024-02-08 09:19:52 -08:00
2022-05-10 10:18:51 -07:00
2022-05-25 09:18:49 -07:00
2024-03-25 16:50:35 -07:00
2021-06-07 09:02:47 -07:00
2023-10-30 16:56:04 -07:00
2023-10-30 16:56:04 -07:00
2023-01-10 13:39:22 -08:00
2023-12-15 09:51:41 -08:00
2024-02-26 12:24:22 -08:00
2023-10-24 11:00:07 -07:00
2023-03-14 15:25:50 -07:00
2023-05-09 09:03:10 -07:00
2023-07-21 11:51:47 -07:00
2017-10-11 16:54:48 -04:00
2023-09-01 18:00:30 -07:00
2021-06-10 10:42:31 -06:00
2019-06-19 09:48:12 -07:00
2022-07-11 14:16:13 -07:00
2023-11-08 10:19:41 -08:00
2023-11-08 10:19:41 -08:00
2018-02-08 15:28:18 -08:00
2023-11-08 10:19:41 -08:00
2023-05-25 13:51:53 -07:00
2022-06-29 14:08:54 -07:00
2020-07-03 11:05:50 -07:00
2023-11-06 10:38:42 -08:00
2023-01-05 09:31:55 -08:00