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
F132302824: D34868.id104844.diff
Wed, Oct 15, 5:03 PM
F132302820: D34868.id105066.diff
Wed, Oct 15, 5:03 PM
F132302818: D34868.id.diff
Wed, Oct 15, 5:03 PM
Unknown Object (File)
Wed, Oct 15, 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
Unknown Object (File)
Jul 15 2025, 4:30 PM
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