summaryrefslogtreecommitdiff
path: root/block/throttle-groups.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2016-03-04 14:16:51 +0100
committerKevin Wolf <kwolf@redhat.com>2016-03-30 12:16:01 +0200
commit855a6a93a12b60b2799eb5999baabd7a85a37c99 (patch)
tree541a6821ce8915c6cf4d9511906978be85107cef /block/throttle-groups.c
parent72e775c7d9de3eaa35a6edaf9d87cedee149d0f5 (diff)
downloadqemu-855a6a93a12b60b2799eb5999baabd7a85a37c99.tar.gz
block: Handle flush error in bdrv_pwrite_sync()
We don't want to silently ignore a flush error. Also, there is little point in avoiding the flush for writethrough modes and once WCE is moved to the BB layer, we definitely need the flush here because bdrv_pwrite() won't involve one any more. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/throttle-groups.c')
0 files changed, 0 insertions, 0 deletions