Skip to content
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

gaps: fix gap size in extended #1641

Merged

Conversation

dbungert
Copy link
Collaborator

@dbungert dbungert commented Apr 7, 2023

Gap sizing in extended had a flaw when there was a partition after it. We need the ebr space in between.

Emerged in the private bug LP: #2015521, where a user was given a guided resize option based on a logical partition that was not physically last. The result was that the end position of the newly created partition was the same spot as the offset of the next partition.

@dbungert dbungert requested a review from ogayot April 7, 2023 15:47
@dbungert dbungert force-pushed the lp-2015521-guided-resize-non-last-logical branch from 9b32362 to f19500d Compare April 7, 2023 15:50
@dbungert dbungert force-pushed the lp-2015521-guided-resize-non-last-logical branch 2 times, most recently from 7a726b5 to 3b64d57 Compare April 7, 2023 16:55
Copy link
Member

@ogayot ogayot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@dbungert dbungert force-pushed the lp-2015521-guided-resize-non-last-logical branch from 3b64d57 to 5219ecf Compare April 7, 2023 16:59
@dbungert dbungert merged commit 6971371 into canonical:main Apr 7, 2023
@dbungert dbungert deleted the lp-2015521-guided-resize-non-last-logical branch April 7, 2023 17:14
@dbungert dbungert mentioned this pull request Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants