You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the enhancement
Currently, the filesystem changes are captured in a “patch file”, which is created by mounting both the original container image and the VM block device and extracting the changes between both using rsync. Even though rsync uses some optimisations such as using timestamps and file sizes to limit the amount of reads, this procedure is quite inefficient and could be sped up by directly extracting the changed block offsets from the thinpool metadata device and directly reading these blocks from the VM rootfs block device. These extracted blocks could then be written back at the correct offsets on top of the base image block device to create a root filesystem for the to be restored VM. However, for this approach to work across nodes for remote snapshots, support to deterministically flatten a container image into a filesystem would be required to ensure the block devices of identical images pulled to different nodes are bit-identical. In addition, further optimisations would be necessary to more efficiently extract filesystem changes from the thinpool metadata device.
The text was updated successfully, but these errors were encountered:
Describe the enhancement
Currently, the filesystem changes are captured in a “patch file”, which is created by mounting both the original container image and the VM block device and extracting the changes between both using rsync. Even though rsync uses some optimisations such as using timestamps and file sizes to limit the amount of reads, this procedure is quite inefficient and could be sped up by directly extracting the changed block offsets from the thinpool metadata device and directly reading these blocks from the VM rootfs block device. These extracted blocks could then be written back at the correct offsets on top of the base image block device to create a root filesystem for the to be restored VM. However, for this approach to work across nodes for remote snapshots, support to deterministically flatten a container image into a filesystem would be required to ensure the block devices of identical images pulled to different nodes are bit-identical. In addition, further optimisations would be necessary to more efficiently extract filesystem changes from the thinpool metadata device.
The text was updated successfully, but these errors were encountered: