HomeFreeBSD

nvme: Inject artificial failure on reset

Description

nvme: Inject artificial failure on reset

Add a sysctl to artificially fail the reset to test the failure to reset
hardware code path. While there are many ways that reset can fail, this
provides an adequate way that similates enough of the failures well
enough to shake out this failure path.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D28584

Details

Provenance
impAuthored on Oct 15 2024, 10:20 PM
Differential Revision
D28584: nvme: Inject artificial failure on reset
Parents
rG82c96fef52c1: nvme: Export recovery state
Branches
Unknown
Tags
Unknown