Page MenuHomeFreeBSD

nvmecontrol: support controller-wide sector sizes
AcceptedPublic

Authored by imp on Sat, Sep 19, 3:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 4, 7:27 PM
Unknown Object (File)
Sun, Oct 4, 10:03 AM
Unknown Object (File)
Sun, Oct 4, 8:29 AM
Unknown Object (File)
Sat, Oct 3, 1:23 AM
Unknown Object (File)
Thu, Oct 1, 9:59 AM
Unknown Object (File)
Thu, Oct 1, 6:23 AM
Unknown Object (File)
Tue, Sep 29, 9:59 PM
Unknown Object (File)
Tue, Sep 29, 8:53 PM
Subscribers

Details

Summary

Extend sector-size selection to controller-wide formats when every
namespace has one compatible format index and matching effective
metadata and protection settings. Reject ambiguous or inconsistent
layouts so heterogeneous fleets can request a sector size without
risking an unintended controller-wide format.

Sponsored by: Netflix

Diff Detail

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

Event Timeline

imp requested review of this revision.Sat, Sep 19, 3:47 AM
This revision is now accepted and ready to land.Fri, Oct 2, 8:02 AM
sbin/nvmecontrol/format.c
260

When the user specifies both sector_size and lbaf, is the intent to override lbaf with the sector size derived value? If so, maybe add a warning in the man pages as this might be hard to guess?

sbin/nvmecontrol/format.c
260

Never mind, I see the check above now.