summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKevin Wolf2016-03-04 14:16:51 +0100
committerKevin Wolf2016-03-30 12:16:01 +0200
commit855a6a93a12b60b2799eb5999baabd7a85a37c99 (patch)
tree541a6821ce8915c6cf4d9511906978be85107cef /include
parentblock: Always set writeback mode in blk_new_open() (diff)
downloadqemu-855a6a93a12b60b2799eb5999baabd7a85a37c99.tar.gz
qemu-855a6a93a12b60b2799eb5999baabd7a85a37c99.tar.xz
qemu-855a6a93a12b60b2799eb5999baabd7a85a37c99.zip
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 'include')
0 files changed, 0 insertions, 0 deletions