Page MenuHomeFreeBSD

nvme: Inject artificial failure on reset
ClosedPublic

Authored by imp on Feb 11 2021, 1:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 6, 3:55 PM
Unknown Object (File)
Wed, Nov 6, 6:20 AM
Unknown Object (File)
Thu, Oct 31, 10:08 AM
Unknown Object (File)
Sun, Oct 20, 9:42 PM
Unknown Object (File)
Sun, Oct 20, 9:42 PM
Unknown Object (File)
Sun, Oct 20, 9:42 PM
Unknown Object (File)
Sun, Oct 20, 9:10 PM
Unknown Object (File)
Oct 16 2024, 12:58 AM
Subscribers

Details

Summary

Add a sysctl to artificially fail the reset to test the failure to reset
hardware code path.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Feb 11 2021, 1:04 AM

It is so specific code debugging case, that I see no much sense to add the tunable for it, rather then just do it once when the code is modified.

In D28584#639918, @mav wrote:

It is so specific code debugging case, that I see no much sense to add the tunable for it, rather then just do it once when the code is modified.

I was rather hoping to have automated testing use this... That's why I opted to submit this for review...

However, I can hold off committing it until that automated testing is in place.

This revision was not accepted when it landed; it landed in state Needs Review.Oct 15 2024, 10:22 PM
This revision was automatically updated to reflect the committed changes.