Skip to content
Snippets Groups Projects
  • Peter Krempa's avatar
    6e9f21a2
    migration: dirty-bitmap: Allow control of bitmap persistence · 6e9f21a2
    Peter Krempa authored
    
    Bitmap's source persistence is transported over the migration stream and
    the destination mirrors it. In some cases the destination might want to
    persist bitmaps which are not persistent on the source (e.g. the result
    of merging bitmaps from a number of layers on the source when migrating
    into a squashed image) but currently it would need to create another set
    of persistent bitmaps and merge them.
    
    This patch adds a 'transform' property to the alias map which allows
    overriding the persistence of migrated bitmaps both on the source and
    destination sides.
    
    Signed-off-by: default avatarPeter Krempa <pkrempa@redhat.com>
    Message-Id: <b20afb675917b86f6359ac3591166ac6d4233573.1613150869.git.pkrempa@redhat.com>
    Reviewed-by: default avatarEric Blake <eblake@redhat.com>
    [eblake: grammar tweaks, drop dead conditional]
    Signed-off-by: default avatarEric Blake <eblake@redhat.com>
    6e9f21a2
    History
    migration: dirty-bitmap: Allow control of bitmap persistence
    Peter Krempa authored
    
    Bitmap's source persistence is transported over the migration stream and
    the destination mirrors it. In some cases the destination might want to
    persist bitmaps which are not persistent on the source (e.g. the result
    of merging bitmaps from a number of layers on the source when migrating
    into a squashed image) but currently it would need to create another set
    of persistent bitmaps and merge them.
    
    This patch adds a 'transform' property to the alias map which allows
    overriding the persistence of migrated bitmaps both on the source and
    destination sides.
    
    Signed-off-by: default avatarPeter Krempa <pkrempa@redhat.com>
    Message-Id: <b20afb675917b86f6359ac3591166ac6d4233573.1613150869.git.pkrempa@redhat.com>
    Reviewed-by: default avatarEric Blake <eblake@redhat.com>
    [eblake: grammar tweaks, drop dead conditional]
    Signed-off-by: default avatarEric Blake <eblake@redhat.com>