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
F174553045: D34868.id105066.diff
Sun, Oct 4, 3:07 AM
F174530572: D34868.id104844.diff
Sat, Oct 3, 11:24 PM
F174529355: D34868.diff
Sat, Oct 3, 11:11 PM
Unknown Object (File)
Fri, Oct 2, 5:39 PM
Unknown Object (File)
Wed, Sep 30, 7:14 PM
Unknown Object (File)
Thu, Sep 17, 10:20 PM
Unknown Object (File)
Wed, Sep 16, 1:28 AM
Unknown Object (File)
Mon, Sep 7, 10:29 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