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)
Fri, Aug 28, 9:28 PM
Unknown Object (File)
Thu, Aug 27, 4:24 PM
Unknown Object (File)
Wed, Aug 26, 3:07 PM
Unknown Object (File)
Wed, Aug 26, 12:38 PM
Unknown Object (File)
Wed, Aug 26, 11:35 AM
Unknown Object (File)
Wed, Aug 26, 8:49 AM
Unknown Object (File)
Fri, Aug 21, 10:20 PM
Unknown Object (File)
Fri, Aug 14, 12:21 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.