Skip to content
  • Kevin Wolf's avatar
    qcow2: Batch flushes for COW · 3de0a294
    Kevin Wolf authored
    
    
    qcow2 calls bdrv_flush() after performing COW in order to ensure that the
    L2 table change is never written before the copy is safe on disk. Now that the
    L2 table is cached, we can wait with flushing until we write out the next L2
    table.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    3de0a294