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-03-25 16:50:35 -07:00
2022-03-15 15:13:42 -07:00
2024-03-25 15:01:54 -07:00
2023-05-01 17:21:27 -07:00
2022-03-15 15:13:42 -07:00
2023-06-09 10:12:52 -07:00
2024-03-25 15:01:54 -07:00
2022-07-11 14:16:13 -07:00
2023-01-10 13:39:22 -08:00
2024-03-25 17:13:45 -07:00
2023-05-26 10:03:12 -07:00
2023-11-07 11:34:50 -08:00
2023-11-17 13:25:53 -08:00
2024-04-03 18:09:19 -07:00
2024-02-15 11:45:33 -08:00
2024-02-15 11:45:38 -08:00
2024-03-25 15:01:54 -07:00
2022-07-11 14:16:13 -07:00
2023-02-16 09:23:39 -08:00
2023-11-06 10:38:42 -08:00
2024-03-25 15:01:54 -07:00
2023-08-26 11:34:43 -07:00
2024-03-25 15:01:54 -07:00
2024-03-25 15:01:54 -07:00
2023-10-11 16:37:21 -07:00
2023-10-24 11:00:07 -07:00
2024-03-27 14:45:27 -07:00
2023-12-11 14:42:06 -08:00
2024-03-25 15:01:54 -07:00
2024-03-25 15:01:54 -07:00
2023-12-05 11:03:48 -08:00
2024-03-25 15:01:54 -07:00
2024-03-25 15:01:54 -07:00
2022-07-11 14:16:13 -07:00
2024-03-25 15:01:54 -07:00
2023-09-28 14:10:07 -07:00
2024-03-25 15:01:54 -07:00
2023-03-14 15:25:50 -07:00
2024-03-25 15:01:54 -07:00
2022-07-11 14:16:13 -07:00
2023-03-14 15:25:50 -07:00
2023-03-14 15:59:58 -07:00
2023-06-09 10:12:52 -07:00
2022-07-11 14:16:13 -07:00
2022-03-15 15:13:42 -07:00
2022-01-07 10:36:49 -08:00
2022-01-12 16:14:36 -08:00
2022-07-11 14:16:13 -07:00
2024-03-25 15:01:54 -07:00
2023-11-17 13:28:32 -08:00
2022-09-27 16:42:41 -07:00
2019-06-19 09:48:12 -07:00
2022-07-11 14:16:13 -07:00
2023-05-26 10:03:12 -07:00
2023-06-14 08:02:27 -07:00
2022-07-11 14:16:13 -07:00
2023-11-07 12:11:48 -08:00
2023-03-02 13:52:21 -08:00
2022-03-15 15:13:42 -07:00
2023-11-08 10:19:41 -08:00
2023-10-26 09:17:40 -07:00
2024-03-25 15:01:54 -07:00
2023-03-14 15:25:50 -07:00
2024-03-25 15:01:54 -07:00
2024-02-12 13:53:33 -08:00
2022-09-27 16:42:41 -07:00
2024-03-29 13:15:56 -06:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2018-06-06 09:35:59 -07:00
2018-06-06 09:35:59 -07:00
2023-06-27 09:09:48 -07:00
2024-03-25 15:01:54 -07:00
2022-07-11 14:16:13 -07:00
2020-11-13 13:51:51 -08:00
2023-11-08 10:19:41 -08:00
2022-03-15 15:13:42 -07:00
2022-03-15 15:13:42 -07:00
2023-07-21 11:49:26 -07:00
2023-11-08 10:19:41 -08:00
2024-01-16 13:17:59 -08:00
2024-03-25 15:01:54 -07:00
2022-07-11 14:16:13 -07:00
2023-11-07 09:06:14 -08:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-11-30 13:46:26 -08:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2023-10-30 14:54:27 -07:00
2023-01-13 10:58:58 -08:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2023-04-06 10:35:02 -07:00
2024-03-25 15:01:54 -07:00
2023-09-29 08:21:25 -07:00
2023-03-14 15:25:50 -07:00
2022-07-11 14:16:13 -07:00
2024-01-17 09:03:58 -08:00
2024-02-08 09:19:52 -08:00
2024-03-21 16:43:53 -07:00
2024-03-25 14:58:50 -07:00
2024-03-25 14:58:50 -07:00
2023-03-14 15:25:50 -07:00
2018-02-08 15:29:24 -08:00
2023-03-14 15:25:50 -07:00
2020-02-14 13:41:42 -08:00
2022-09-02 13:31:19 -07:00
2023-03-14 15:25:50 -07:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2023-03-02 13:52:21 -08:00
2024-02-08 09:19:52 -08:00
2023-06-09 10:12:52 -07:00
2023-03-02 13:52:21 -08:00
2024-03-29 13:15:56 -06:00
2023-10-30 14:51:56 -07:00
2023-06-09 10:12:52 -07:00
2023-10-23 09:55:36 -07:00
2022-07-11 14:16:13 -07:00
2023-11-28 13:35:14 -08:00
2022-07-11 14:16:13 -07:00
2022-07-11 14:16:13 -07:00
2024-03-25 14:56:49 -07:00
2024-03-25 15:01:54 -07:00
2024-03-25 15:01:54 -07:00
2023-02-27 14:41:02 -08:00
2024-04-08 11:59:04 -07:00
2024-04-08 11:59:04 -07:00
2022-07-11 14:16:13 -07:00
2022-11-29 09:26:03 -08:00
2022-03-23 08:51:00 -07:00
2023-12-01 15:23:20 -08:00