Page MenuHomeFreeBSD

nvmecontrol: select format by sector size
Needs ReviewPublic

Authored by imp on Sat, Sep 19, 3:47 AM.
Tags
None
Referenced Files
F172647574: D59833.diff
Sat, Sep 19, 10:57 PM
Unknown Object (File)
Sat, Sep 19, 4:58 PM
Unknown Object (File)
Sat, Sep 19, 4:55 PM
Unknown Object (File)
Sat, Sep 19, 6:25 AM
Unknown Object (File)
Sat, Sep 19, 6:24 AM
Subscribers

Details

Summary

Add automatic selection of lbaf value based on a single sector size. The
lbas (the data sector size) is selected based on the power of 2 in the
sector size, and the metadata size is selected by the remainder. If an
lbaf matches these values is used, otherwise we exit with an error.
When there's a tie, we prefer the higher performance.

Manual selection of these values remains as well for times when we
select incorrectly.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77080
Build 73963: arc lint + arc unit