Re: [Qemu-devel] [PATCH] qcow2: Really use cache=unsafe for image creation

2011-02-01 Thread Stefan Hajnoczi
On Thu, Jan 27, 2011 at 3:50 PM, Kevin Wolf wrote: > For cache=unsafe we also need to set BDRV_O_CACHE_WB, otherwise we have some > strange unsafe writethrough mode. > > Signed-off-by: Kevin Wolf > --- >  block/qcow2.c |    3 ++- >  1 files changed, 2 insertions(+), 1 deletions(-) Reviewed-by: S

[Qemu-devel] [PATCH] qcow2: Really use cache=unsafe for image creation

2011-01-27 Thread Kevin Wolf
For cache=unsafe we also need to set BDRV_O_CACHE_WB, otherwise we have some strange unsafe writethrough mode. Signed-off-by: Kevin Wolf --- block/qcow2.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/block/qcow2.c b/block/qcow2.c index dbe4fdd..a1773e4 100644 --- a/