Page MenuHomeFreeBSD

nvme: Rename min_page_size to page_size and save mps
ClosedPublic

Authored by imp on Apr 10 2022, 5:11 PM.
Tags
None
Referenced Files
F137195663: D34868.id.diff
Fri, Nov 21, 11:31 AM
Unknown Object (File)
Oct 15 2025, 5:03 PM
Unknown Object (File)
Oct 15 2025, 5:03 PM
Unknown Object (File)
Oct 15 2025, 5:03 PM
Unknown Object (File)
Oct 15 2025, 6:23 AM
Unknown Object (File)
Aug 29 2025, 8:59 AM
Unknown Object (File)
Aug 14 2025, 10:14 PM
Unknown Object (File)
Aug 14 2025, 5:57 AM
Subscribers

Details

Summary

The Memory Page Size sets the basic unit of operation for the drive. We
currently set this to the drive's minimum page size, but we could set it
to any page size the drive supports in the future. Replace min_page_size
(it's now unused for that purpose) with page_size to reflect this and
cache the MPS we want to use. Use NVME_MPS_SHIFT to compute page_size.

Sponsored by: Netflix

Diff Detail

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