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)
Nov 15 2024, 5:41 AM
Unknown Object (File)
Nov 6 2024, 3:55 PM
Unknown Object (File)
Nov 6 2024, 6:20 AM
Unknown Object (File)
Oct 31 2024, 10:08 AM
Unknown Object (File)
Oct 20 2024, 9:42 PM
Unknown Object (File)
Oct 20 2024, 9:42 PM
Unknown Object (File)
Oct 20 2024, 9:42 PM
Unknown Object (File)
Oct 20 2024, 9:10 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 36881
Build 33770: arc lint + arc unit

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.