Major References
- NVM Express Base Specification 2.0.pdf
- Sometimes, NVMe 1.4 spec say more information (e.g. Block Erase property)
- Some data structure & field only show in Command Set Spec
- NVM Command Set Specification 1.0c.pdf **<=**Detail command result field information
- chrome-extension://pnhplgjpclknigjpccbcnmicgcieojbh/pdf/viewer.html?file=https://nvmexpress.org/wp-content/uploads/NVM-Express-NVM-Command-Set-Specification-1.0c-2022.10.03-Ratified.pdf
- https://nvmexpress.org/resource/nvme-namespaces/
Spec Important Section Index
- Doc: NVMe Spec 2.0
- Doc: NVMe Command Set Spec
Spec Note
- 基本知識
- Architecture - Subsystem → Domain → Endurance Group → NVMe Set → Namespace
- NVMe Subsystem - all components within a non-valatile memory /
- Controller capability: Ready timeout
- Features - e.g. WriteCache
- Feature Support (set-feature) - namespace metadata …
- 每個 feature 不一定支援 saveable (controller reset & power loss保留)
- Get
nvme get-feature
/ 查看是否 saveable
- Set
- 取得整個 drive 的 size
- Name space
- NS Reservation - PTPL / Host identifier (Host ID)
- Deallcate (ie.g. TRIM)
- NVM Set - 將實體 flush 分成 & 更有效分配 IO (Predictable Latency Mode for IO Determinism)