Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment