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
F140871042: D44718.id138070.diff
Mon, Dec 29, 2:14 AM
Unknown Object (File)
Fri, Dec 26, 6:25 PM
Unknown Object (File)
Mon, Dec 22, 11:14 PM
Unknown Object (File)
Thu, Dec 18, 8:29 PM
Unknown Object (File)
Wed, Dec 17, 9:07 AM
Unknown Object (File)
Tue, Dec 9, 1:17 AM
Unknown Object (File)
Sun, Dec 7, 5:03 AM
Unknown Object (File)
Sat, Dec 6, 3:26 AM
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