-
Notifications
You must be signed in to change notification settings - Fork 609
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] v2 supports volume expansion #8022
Comments
@AaronDewes |
Thanks! As I've mentioned before, I have not yet tested this properly yet. I'm planning to run this locally today and make improvements or let you know if I have questions. Because I've only used Longhorn before, but not contributed yet, I'm not familiar with the internal architecture. |
@AaronDewes as this is an upcoming feature in 1.7.0, so I would expect you can actively work on the feature. Please work with @derekbit who is our maintainer as well to try to make the feature happen eventually. Assigned to you first, as you are working on that. However, if you can't make it, just let us know and we will arrange the assignee. Thanks for your contribution! |
@AaronDewes |
Just found the related PR in spdk side |
I think this patch will be merged soon on SPDK master branch. |
@DamiaSan Could you collaborate with @AaronDewes to land the implementation in Longhorn? Thanks. |
Yes, sure. @AaronDewes do you already have some questions or something I can do for you? |
Hi @AaronDewes , I have just had a look at the work to do:
I will create a new SPDK branch as soon as the new 24.09 release will be available, meanwhile you could start working on longhorn-instance-manager and longhorn-spdk-engine.
WDYT? Tell me if you need other informations or any kind of help. |
2 questions:
|
When you resize a lvol, its snapshot parent isn't affected by the resize operation, only lvol change. The size of a snapshot can't be changed.
No, the nvmf layer is automatically refreshed with the new size. |
Then the v2 volume expansion implementation looks less complicated. |
Hi @derekbit , what about the suspension of the IO over the volume before to proceed with its expansion, it is not needed. Because SPDK, before to resize a lvol, freeze IO over it. Then, raid resize happens only when all its base bdevs have resized, but in this case the resize is simply a notification, it doesn't need any new space allocation. |
Found an issue in SPDK: spdk/spdk#3540 |
The development in |
This stuck is not related to this development and has been resolved in ther new |
Is your feature request related to a problem? Please describe (👍 if you like this request)
Describe the solution you'd like
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: