-
Notifications
You must be signed in to change notification settings - Fork 562
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
o/servicestate/quota_control.go: enforce minimum of 4K for quota groups #10346
Merged
pedronis
merged 10 commits into
snapcore:master
from
anonymouse64:feature/quota-groups-remastered-deluxe-diamond-edition-2.5
Jun 18, 2021
Merged
Changes from 1 commit
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
54fcd36
o/servicestate/quota_control.go: enforce minimum of 4K for quota groups
anonymouse64 3d891e0
Merge branch 'master' into feature/quota-groups-remastered-deluxe-dia…
anonymouse64 7c66d18
tests/main/snap-quota-groups: adjust memory limit to be minimum allowed
anonymouse64 d28295b
tests/main/snap-quota-groups: adjust memory limit to be slightly larger
anonymouse64 894388b
Merge branch 'master' into feature/quota-groups-remastered-deluxe-dia…
anonymouse64 e03fc28
Merge branch 'master' into feature/quota-groups-remastered-deluxe-dia…
anonymouse64 bef38f5
Merge branch 'master' into feature/quota-groups-remastered-deluxe-dia…
anonymouse64 3b1bd0a
o/servicestate/quota_handlers.go: adjust error message for clarity
anonymouse64 ca648fe
Merge remote-tracking branch 'upstream/master' into feature/quota-gro…
mvo5 6731f9e
Merge branch 'master' into feature/quota-groups-remastered-deluxe-dia…
anonymouse64 File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
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
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
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
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.
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.
Hm I guess a quota the size of a single page is not very useful either 🤣 but alas, if one wants to use and learn the hard way I don't see a reason to prevent that.
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.
I assume with this 4k you can add multiple sub-groups as well? It's not 4k for each sub-group? If so, then 👍
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.
ah well actually funny thing you should ask ... no it's 4K per group it seems but we can't know ahead of time how many sub-groups may go into a group. We could however add accounting to ensure that if a child group is being added that the parent has at least 4096 leftover
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.
For now the thing we will do is to just make the minimum 4K and if folks disagree or have issues we can increase it or make other adjustments later.