Page MenuHomeFreeBSD

nvmecontrol: select format by sector size
AcceptedPublic

Authored by imp on Sat, Sep 19, 3:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 9, 1:53 AM
Unknown Object (File)
Fri, Oct 9, 1:20 AM
Unknown Object (File)
Mon, Oct 5, 5:13 PM
Unknown Object (File)
Sat, Oct 3, 10:07 PM
Unknown Object (File)
Sat, Oct 3, 8:34 AM
Unknown Object (File)
Sat, Oct 3, 1:26 AM
Unknown Object (File)
Fri, Oct 2, 10:06 PM
Unknown Object (File)
Fri, Oct 2, 2:46 PM
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