Page MenuHomeFreeBSD

ctl: Add helper routines for setting NVMe completion status
ClosedPublic

Authored by jhb on Apr 9 2024, 11:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 9, 10:35 PM
Unknown Object (File)
Sat, May 4, 7:46 AM
Unknown Object (File)
Fri, Apr 26, 11:51 AM
Unknown Object (File)
Fri, Apr 26, 4:59 AM
Unknown Object (File)
Fri, Apr 19, 11:57 AM
Unknown Object (File)
Fri, Apr 19, 11:49 AM
Unknown Object (File)
Apr 12 2024, 7:45 PM
Subscribers
None

Details

Summary

Also includes a few protocol-agnostic wrappers for setting a generic
status (such as success) for a CTL I/O request whether it be SCSI or
NVMe.

Sponsored by: Chelsio Communications

Diff Detail

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

Event Timeline

jhb requested review of this revision.Apr 9 2024, 11:04 PM
This revision is now accepted and ready to land.Apr 13 2024, 8:35 PM
sys/cam/ctl/ctl_error.c
1004

Note one thing here (and in libnvmf) is that I currently don't set DNR for any errors. Arguably some of these errors probably should be setting DNR.

sys/cam/ctl/ctl_error.c
1004

that would be helpful, though not strictly required: it's a performance enhancement