diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-03-04 14:16:51 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-03-30 12:16:01 +0200 |
commit | 855a6a93a12b60b2799eb5999baabd7a85a37c99 (patch) | |
tree | 541a6821ce8915c6cf4d9511906978be85107cef /block/qed-table.c | |
parent | 72e775c7d9de3eaa35a6edaf9d87cedee149d0f5 (diff) | |
download | qemu-855a6a93a12b60b2799eb5999baabd7a85a37c99.zip qemu-855a6a93a12b60b2799eb5999baabd7a85a37c99.tar.gz qemu-855a6a93a12b60b2799eb5999baabd7a85a37c99.tar.bz2 |
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/qed-table.c')
0 files changed, 0 insertions, 0 deletions