Skip to content

Conversation

@klmp200
Copy link

@klmp200 klmp200 commented Oct 28, 2025

When resizing a VDI on a thick provisioned linstor SR, we need to wait for DRBD to be up to date.
This is dependent on previous operations that we can't know.
If we wait too much, we stop and return an error to the user letting him know that he needs to try later.

Also fix an issue when resizing raw images.

fix resize typo for linstor on raw VDI
refactor linstor resize code

Signed-off-by: Antoine Bartuccio <[email protected]>
Avoid most common drbd sync errors during resize with a cleaner
wait mechanism and friendly user error

Signed-off-by: Antoine Bartuccio <[email protected]>
@klmp200 klmp200 force-pushed the linstor_resize_retry branch from d5c806e to 545ac97 Compare October 28, 2025 09:31
@klmp200 klmp200 requested review from Nambrok and Wescoeur October 28, 2025 09:31
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