Skip to content
Commit eb489bb1 authored by Kevin Wolf's avatar Kevin Wolf
Browse files

block: Introduce bdrv_co_flush_to_os



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>
parent c68b89ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment