-
Notifications
You must be signed in to change notification settings - Fork 43
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
feature(storage): config support for current size #1617
Merged
joseivanlopez
merged 5 commits into
agama-project:master
from
joseivanlopez:storage-size-current
Sep 24, 2024
Merged
feature(storage): config support for current size #1617
joseivanlopez
merged 5 commits into
agama-project:master
from
joseivanlopez:storage-size-current
Sep 24, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
joseivanlopez
force-pushed
the
storage-size-current
branch
5 times, most recently
from
September 19, 2024 15:18
71b0df3
to
d3ee397
Compare
joseivanlopez
force-pushed
the
storage-size-current
branch
5 times, most recently
from
September 23, 2024 14:40
4f06d2f
to
db9d97c
Compare
- Do not remove configs if a search is not found. - Introduce ConfigSolver class. - Extend ConfigChecker to generate search issues.
joseivanlopez
force-pushed
the
storage-size-current
branch
from
September 23, 2024 14:41
db9d97c
to
524833b
Compare
- New config solver for sizes (current, defaults, etc). - Move logic related to fallback sizes to ConfigBuilder.
joseivanlopez
force-pushed
the
storage-size-current
branch
from
September 24, 2024 06:09
1e4f1eb
to
aa00a4f
Compare
ancorgs
approved these changes
Sep 24, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ancorgs
added a commit
that referenced
this pull request
Sep 24, 2024
#1617 introduced some changes on the acceptable values for sizes and how they are managed. To be precise, it affects the special values like "default" (that is not longer considered an option) and "current". It also changes the behavior when the size is omitted for a partition or logical volume. The current PR updates the documentation to reflect the changes introduced at the mentioned pull request.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add support to the storage config for resizing a partition using its current size as minimum or maximim limit, see auto_storage.md document.
For growing a partition as much as possible:
For shrinking a partition as much as possible:
For omittied size, the default size indicated by the product is used for a new partition. If the partition already exists (has a search), then the current device size is used as default (i.e., the device is not resized at all).