Page MenuHomeFreeBSD

ctl_backend_ramdisk: Add support for NVMe
Needs ReviewPublic

Authored by jhb on Tue, Apr 9, 11:04 PM.
Tags
None
Referenced Files
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)
Fri, Apr 12, 5:10 PM
Subscribers
None

Details

Reviewers
imp
ken
Group Reviewers
cam
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 57194
Build 54082: arc lint + arc unit

Event Timeline

jhb requested review of this revision.Tue, Apr 9, 11:04 PM
This revision is now accepted and ready to land.Mon, Apr 15, 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