HomeFreeBSD

zio: do no-op injections just before handing off to vdevs

Description

zio: do no-op injections just before handing off to vdevs

The purpose of no-op is to simulate a failure between a device cache and
its permanent store. We still want it to go through the queue and
respond in the same way to everything else.

So, inject "success" as the very last thing, and then move on to
VDEV_IO_DONE to be dequeued and so any followup work can occur.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #17029

Details

Provenance
rob.norris_klarasystems.comAuthored on Feb 8 2025, 1:42 AM
GitHub <noreply@github.com>Committed on Feb 8 2025, 1:42 AM
Parents
rGd2147de319b3: Fix "make install" with DESTDIR set (#16995)
Branches
Unknown
Tags
Unknown