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)
Sun, Mar 9, 1:03 AM
Unknown Object (File)
Fri, Mar 7, 5:24 PM
Unknown Object (File)
Mon, Mar 3, 1:18 AM
Unknown Object (File)
Feb 4 2025, 6:29 AM
Unknown Object (File)
Jan 25 2025, 1:41 PM
Unknown Object (File)
Jan 25 2025, 1:41 PM
Unknown Object (File)
Jan 25 2025, 1:41 PM
Unknown Object (File)
Jan 25 2025, 10:51 AM
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.