Page MenuHomeFreeBSD

nvme: reject namespaces formatted with metadata
ClosedPublic

Authored by seuros on Sun, Sep 13, 8:39 AM.
Referenced Files
F172567354: D59625.diff
Sat, Sep 19, 7:58 AM
F172494645: D59625.id186625.diff
Fri, Sep 18, 8:42 PM
F172493915: D59625.id186559.diff
Fri, Sep 18, 8:34 PM
Unknown Object (File)
Thu, Sep 17, 11:20 PM
Unknown Object (File)
Thu, Sep 17, 8:10 PM
Unknown Object (File)
Thu, Sep 17, 6:31 PM
Unknown Object (File)
Thu, Sep 17, 4:36 AM
Unknown Object (File)
Thu, Sep 17, 4:27 AM
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