Page MenuHomeFreeBSD

nvme: reject namespaces formatted with metadata
ClosedPublic

Authored by seuros on Sun, Sep 13, 8:39 AM.
Referenced Files
F172362038: D59625.diff
Thu, Sep 17, 11:20 PM
F172338442: D59625.id186625.diff
Thu, Sep 17, 8:10 PM
F172327275: D59625.id186559.diff
Thu, Sep 17, 6:31 PM
F172242299: D59625.diff
Thu, Sep 17, 4:36 AM
F172241704: D59625.diff
Thu, Sep 17, 4:27 AM
F172241007: D59625.diff
Thu, Sep 17, 4:20 AM
Unknown Object (File)
Wed, Sep 16, 5:03 PM
Unknown Object (File)
Wed, Sep 16, 1:36 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