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
Unknown Object (File)
Jan 14 2024, 8:25 AM
Unknown Object (File)
Jan 10 2024, 2:16 AM
Unknown Object (File)
Dec 24 2023, 7:59 PM
Unknown Object (File)
Nov 16 2023, 2:34 AM
Unknown Object (File)
Nov 14 2023, 3:50 AM
Unknown Object (File)
Nov 8 2023, 2:17 PM
Unknown Object (File)
Oct 15 2023, 1:31 AM
Unknown Object (File)
Oct 13 2023, 4:15 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