Page MenuHomeFreeBSD

ctl_backend_ramdisk: Add support for NVMe
ClosedPublic

Authored by jhb on Apr 9 2024, 11:04 PM.
Tags
None
Referenced Files
F106159542: D44722.id136818.diff
Thu, Dec 26, 9:09 AM
F106127394: D44722.diff
Wed, Dec 25, 8:41 PM
Unknown Object (File)
Sat, Dec 21, 10:43 PM
Unknown Object (File)
Wed, Dec 4, 9:32 AM
Unknown Object (File)
Fri, Nov 29, 1:44 AM
Unknown Object (File)
Nov 25 2024, 5:57 AM
Unknown Object (File)
Nov 24 2024, 11:06 PM
Unknown Object (File)
Nov 23 2024, 6:13 PM
Subscribers
None

Details

Summary

One known caveat is that the support for WRITE_UNCORRECTABLE is not
quite correct as reads from LBAs after a WRITE_UNCORRECTABLE will
return zeroes rather than an error. Fixing this would likely require
special handling for PG_ANCHOR for NVMe requests (or adding a new
PG_UNCORRECTABLE).

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 15 2024, 3:20 PM

I think the write uncorrectable is fine as it is, at least for now. It's not used by FreeBSD, but likely by others so it will eventually need to be supported. It need not gate this, though.

jhb retitled this revision from ctl_backend_ramdisk: Add support for NVMe support to ctl_backend_ramdisk: Add support for NVMe.Apr 18 2024, 5:52 PM

Update after splitting into 2 commits

This revision now requires review to proceed.Apr 18 2024, 5:57 PM

Update for CTL_IO_ASSERT macro

This revision was not accepted when it landed; it landed in state Needs Review.May 3 2024, 12:16 AM
This revision was automatically updated to reflect the committed changes.