Skip to content
  • Jeff Cody's avatar
    block: add live block commit functionality · 747ff602
    Jeff Cody authored
    
    
    This adds the live commit coroutine.  This iteration focuses on the
    commit only below the active layer, and not the active layer itself.
    
    The behaviour is similar to block streaming; the sectors are walked
    through, and anything that exists above 'base' is committed back down
    into base.  At the end, intermediate images are deleted, and the
    chain stitched together.  Images are restored to their original open
    flags upon completion.
    
    Signed-off-by: default avatarJeff Cody <jcody@redhat.com>
    Reviewed-by: default avatarEric Blake <eblake@redhat.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    747ff602