Page MenuHomeFreeBSD

nvme: reject namespaces formatted with metadata
ClosedPublic

Authored by seuros on Sun, Sep 13, 8:39 AM.
Referenced Files
F175402764: D59625.diff
Sat, Oct 10, 2:56 PM
F175394944: D59625.diff
Sat, Oct 10, 1:21 PM
Unknown Object (File)
Wed, Oct 7, 5:30 AM
Unknown Object (File)
Tue, Oct 6, 3:52 AM
Unknown Object (File)
Fri, Oct 2, 3:17 PM
Unknown Object (File)
Fri, Oct 2, 5:25 AM
Unknown Object (File)
Thu, Oct 1, 7:21 PM
Unknown Object (File)
Thu, Oct 1, 5:04 PM
Subscribers

Details

Summary

The active LBA format's MS field was never examined. I/O to a
metadata-formatted namespace carries neither interleaved metadata
nor MPTR, so every command is malformed, yet the namespace attaches
as a disk with the wrong sector size.

Test Plan

Every change in the stack was test against real hardware , the spec is https://nvmexpress.org/specifications/

Diff Detail

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

Event Timeline

We "should" support this. However, we do not, so this is the right thing to do.

This revision is now accepted and ready to land.Sun, Sep 13, 6:00 PM