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

Add optimized volume refreshes for Ceph RBD volumes #12721

Closed
roosterfish opened this issue Jan 11, 2024 · 0 comments · Fixed by #12743
Closed

Add optimized volume refreshes for Ceph RBD volumes #12721

roosterfish opened this issue Jan 11, 2024 · 0 comments · Fixed by #12743
Assignees
Labels
Feature New feature, not a bug
Milestone

Comments

@roosterfish
Copy link
Contributor

roosterfish commented Jan 11, 2024

Currently only when copying Ceph RBD backed volumes for the first time the internal rbd export-diff/rbd import-diff functions are used for the transfer (local and remote).
Subsequent volume refreshes fall back to either using rsync for filesystem volumes or raw transfer in case of block volumes.

Optimized remote refreshes using the MigrateVolume()/CopyVolumeFromMigration() driver functions can be enabled by returning support for the MigrationFSType_RBD type in MigrationTypes(). It looks the necessary code from general migrations can be reused here.

Optimized local refreshes require extra work to be done in the drivers RefreshVolume() function to not fall back to the generic VFS refresh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature, not a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants