Page MenuHomeFreeBSD

ctl_backend_ramdisk: Add support for NVMe
ClosedPublic

Authored by jhb on Apr 9 2024, 11:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 6, 9:34 PM
Unknown Object (File)
Sat, May 4, 8:05 AM
Unknown Object (File)
Sat, Apr 27, 2:13 AM
Unknown Object (File)
Fri, Apr 26, 4:59 AM
Unknown Object (File)
Thu, Apr 25, 7:41 PM
Unknown Object (File)
Thu, Apr 25, 5:52 PM
Unknown Object (File)
Thu, Apr 25, 4:49 PM
Unknown Object (File)
Apr 12 2024, 5:10 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.Thu, Apr 18, 5:52 PM

Update after splitting into 2 commits

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

Update for CTL_IO_ASSERT macro

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