-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix: rename page_size_kib to page_size #4948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4948 +/- ##
=======================================
Coverage 83.14% 83.14%
=======================================
Files 248 248
Lines 26923 26925 +2
=======================================
+ Hits 22386 22388 +2
Misses 4537 4537
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Hi @acsmyth, |
Keep around the old page_size_kib field, but add a deprecation notice. Signed-off-by: acsmyth <[email protected]> Co-authored-by: Patrick Roy <[email protected]> Signed-off-by: Patrick Roy <[email protected]>
Changes
page_size_kib
name to the more accuratepage_size
, since it's actually in bytes, not KiB....
We leave the old page_size_kib field in there, but mark it as deprecated to avoid any Firecracker code from accidentally using it (and update everything on the Firecracker side to be called page_size instead of page_size_kib). This way we're backward compatible (and can remove the wrongly named field in 2.0), but have correctly named variables in the code base at least.
...
License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following Developer
Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md
.PR Checklist
tools/devtool checkstyle
to verify that the PR passes theautomated style checks.
how they are solving the problem in a clear and encompassing way.
in the PR.
CHANGELOG.md
.Runbook for Firecracker API changes.
integration tests.
TODO
.rust-vmm
.