Repository navigation
Conversation
|
FYI @jclulow - I'm blocked on the |
pfmooney
left a comment
There was a problem hiding this comment.
Thanks for wiring this in
| proc-macro2 = "1.0" | ||
| progenitor = { git = "https://github.com/oxidecomputer/progenitor", branch = "main" } | ||
| progenitor-client = { git = "https://github.com/oxidecomputer/progenitor", branch = "main" } | ||
| bhyve_api = { git = "https://github.com/oxidecomputer/propolis", rev = "db39a40be172109de3ca34af8a1c37dd76e715a9" } |
There was a problem hiding this comment.
Perhaps it's time to split this off into it's own home. Though, we're gonna be packaging together the OS/bhyve, propolis & sled-agent so maybe we should just make sure to keep all the propolis stuff on the same rev. Not really possibly yet since omicron is still pinned on an older rev but in the future. Anyways, not a blocker for this PR.
There was a problem hiding this comment.
Agreed, I think we have a similar situation with our crucible deps, where multiple crates exist that we depend on, but it seems simplifying to have them all be pinned to a single rev and move together.
| impl ReservoirControl { | ||
| /// Sets the reservoir to a particular size. | ||
| /// | ||
| /// - "size" must be exactly divisible by a MiB |
There was a problem hiding this comment.
Should this just take the size in MiB then?
There was a problem hiding this comment.
We could, but would probably want a new type to represent that, since IMO it's confusing to have u64s with overloaded meaning. This was why we originally used ByteCount everywhere, to make it explicit that "it's a count of bytes", but that does have the downside of permitting values that need to be validated.
Do you have a strong opinion on where this new type should live?
There was a problem hiding this comment.
The 1MiB granularity requirement was a function of using rsrvrctl(1), which acted in terms of MiB. Strictly speaking, the Private ioctl interface for manipulating the reservoir size demands nothing more than rounding to PAGESIZE.
That being said, sticking to 1-2MiB+ increments would probably be good for if/when we flesh out better large page support internally.
|
Closing this, as it is now superseded by #3200 |
Fixes #2650