Skip to content
  • Kevin Wolf's avatar
    eb489bb1
    block: Introduce bdrv_co_flush_to_os · eb489bb1
    Kevin Wolf authored
    
    
    qcow2 has a writeback metadata cache, so flushing a qcow2 image actually
    consists of writing back that cache to the protocol and only then flushes the
    protocol in order to get everything stable on disk.
    
    This introduces a separate bdrv_co_flush_to_os to reflect the split.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    eb489bb1
    block: Introduce bdrv_co_flush_to_os
    Kevin Wolf authored
    
    
    qcow2 has a writeback metadata cache, so flushing a qcow2 image actually
    consists of writing back that cache to the protocol and only then flushes the
    protocol in order to get everything stable on disk.
    
    This introduces a separate bdrv_co_flush_to_os to reflect the split.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
Loading