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
F137832925: D34868.id.diff
Wed, Nov 26, 6:11 AM
F137822610: D34868.id105066.diff
Wed, Nov 26, 3:46 AM
Unknown Object (File)
Sun, Nov 23, 7:54 PM
Unknown Object (File)
Sun, Nov 23, 4:50 PM
Unknown Object (File)
Sun, Nov 23, 5:42 AM
Unknown Object (File)
Sat, Nov 22, 6:41 PM
Unknown Object (File)
Sat, Nov 22, 12:05 PM
Unknown Object (File)
Sat, Nov 22, 10:20 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