Page MenuHomeFreeBSD

nvme: honor FLBAS Format Index Upper when selecting the LBA format
ClosedPublic

Authored by seuros on Sun, Sep 13, 8:52 AM.
Referenced Files
Unknown Object (File)
Sat, Oct 3, 6:48 PM
Unknown Object (File)
Sat, Oct 3, 5:36 AM
Unknown Object (File)
Fri, Oct 2, 9:22 PM
Unknown Object (File)
Fri, Oct 2, 6:38 PM
Unknown Object (File)
Fri, Oct 2, 6:00 PM
Unknown Object (File)
Thu, Oct 1, 8:55 PM
Unknown Object (File)
Thu, Oct 1, 4:35 PM
Unknown Object (File)
Thu, Oct 1, 1:14 PM
Subscribers
None

Details

Summary

Added nvme_ns_data_format_index() in the nvme, nda, and nvmf
host paths as well as nvmecontrol and camdd.

Diff Detail

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

Event Timeline

This change is fairly straightforward once I understand where the LBA requirement is in the NVMe spec.

sys/dev/nvme/nvme.h
2097–2099
  • Spec reference?
  • Can these be made into constants for clarity?
This revision is now accepted and ready to land.Tue, Sep 22, 4:59 AM

Soft approval based on approval from @imp.

seuros added inline comments.
sys/dev/nvme/nvme.h
2097–2099

Sorry, i was not logged in pharb before.

A new spec was released in august 2026 : https://nvmexpress.org/specifications/

I will comment in followup commits with the page where such information is picked up if there is no objection.

This revision was automatically updated to reflect the committed changes.
seuros marked an inline comment as done.