Page MenuHomeFreeBSD

nvme: Inject artificial failure on reset
Needs ReviewPublic

Authored by imp on Feb 11 2021, 1:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 22 2023, 1:52 PM
Unknown Object (File)
Nov 15 2023, 9:45 AM
Unknown Object (File)
Nov 8 2023, 12:20 AM
Unknown Object (File)
Oct 14 2023, 8:47 AM
Unknown Object (File)
Oct 14 2023, 4:18 AM
Unknown Object (File)
Oct 6 2023, 11:11 PM
Unknown Object (File)
Aug 2 2023, 6:28 PM
Unknown Object (File)
Jul 15 2023, 10:28 PM
Subscribers

Details

Reviewers
mav
chs
chuck
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.