Skip to content

Tweaks to dirty bitmap / backup handling - #4206

Merged
stgraber merged 8 commits into
lxc:mainfrom
stgraber:storage
Oct 16, 2026
Merged

stgraber merged 8 commits into
lxc:mainfrom
stgraber:storage

Conversation

@stgraber

Copy link
Copy Markdown
Member

No description provided.

@stgraber stgraber changed the title Tweak to dirty bitmap / backup handling Tweaks to dirty bitmap / backup handling Oct 15, 2026
@github-actions github-actions Bot added Documentation Documentation needs updating API Changes to the REST API labels Oct 15, 2026
@stgraber
stgraber requested review from bensmrs and presztak October 15, 2026 18:03

@bensmrs bensmrs left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Didn’t review the RBD stuff, so someone more experienced in this should take a look

Independent volumes may be shared with other instances and are reachable
through their own storage volume endpoint, so the instance export no longer
puts an overlay on them.

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Dependent block volumes get the same qcow2 metadata image as the root disk
so they can hold persistent dirty bitmaps. The image is dropped when the
volume is detached so a reused device name doesn't inherit stale bitmaps.

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Root and dependent disks on Ceph are now attached through the qcow2
metadata image with the RBD image as its data file, so persistent dirty
bitmaps work there too. The image was created for the root disk before
but then bypassed in favor of a direct RBD attachment.

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
@stgraber
stgraber merged commit 1f87dc5 into lxc:main Oct 16, 2026
97 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API Changes to the REST API Documentation Documentation needs updating

Development

Successfully merging this pull request may close these issues.

2 participants