Page MenuHomeFreeBSD

cam: Log more error codes
ClosedPublic

Authored by imp on Jul 24 2023, 11:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Aug 14 2025, 10:36 PM
Unknown Object (File)
Aug 13 2025, 4:25 AM
Unknown Object (File)
Jul 28 2025, 11:03 PM
Unknown Object (File)
Jul 28 2025, 5:19 PM
Unknown Object (File)
Jul 28 2025, 2:48 PM
Unknown Object (File)
Jul 27 2025, 6:04 PM
Unknown Object (File)
Jul 27 2025, 4:35 PM
Unknown Object (File)
Jul 27 2025, 2:50 PM
Subscribers
None

Details

Reviewers
ken
mav
chs
Group Reviewers
cam
Commits
rGcf0a543f1f93: cam: Log more error codes
Summary

Log CAM_DEV_NOT_THERE status CCBs because they get dropped if a drive
disappears and these requests timeout or are cancelled. It's useful to
know the outstanding commands for failure analysis. Log
CAM_NVME_STATUS_ERROR status CCBs to bring in NVMe errors (this will be
more important in future commits that expand the information logged).

Sponsored by: Netflix

Diff Detail

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

Event Timeline

NVME sure makes sense, otherwise I am not sure how the list was selected and how sorted.

In D41168#937446, @mav wrote:

NVME sure makes sense, otherwise I am not sure how the list was selected and how sorted.

I'm also unsure how the rest of the list was selected.
I think it was the list of those error codes that Scott thought could be generated by malfunctioning periph devices, based on his experience with a wide range of SIMs...

This revision was not accepted when it landed; it landed in state Needs Review.Aug 1 2023, 8:55 PM
Closed by commit rGcf0a543f1f93: cam: Log more error codes (authored by imp). · Explain Why
This revision was automatically updated to reflect the committed changes.