Re: [Qemu-devel] [PATCH 09/20] block: Handle flush error in bdrv_pwrite_sync()

2016-03-26 Thread Max Reitz
On 18.03.2016 19:21, Kevin Wolf wrote: > 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. > >

[Qemu-devel] [PATCH 09/20] block: Handle flush error in bdrv_pwrite_sync()

2016-03-19 Thread Kevin Wolf
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 --- block/io.c | 6 +++---