[Qemu-devel] Re: [PATCH 2/4] block: add a helper to change writeback mode on the fly

2011-03-16 Thread Kevin Wolf
Am 16.03.2011 10:49, schrieb Stefan Hajnoczi: > On Tue, Mar 15, 2011 at 2:11 PM, Christoph Hellwig wrote: >> Add a new bdrv_change_cache that can set/clear the writeback flag >> at runtime by stopping all I/O and closing/reopening the image file. >> >> All code is based on a patch from Prerna Saxe

[Qemu-devel] Re: [PATCH 2/4] block: add a helper to change writeback mode on the fly

2011-03-16 Thread Stefan Hajnoczi
On Tue, Mar 15, 2011 at 2:11 PM, Christoph Hellwig wrote: > Add a new bdrv_change_cache that can set/clear the writeback flag > at runtime by stopping all I/O and closing/reopening the image file. > > All code is based on a patch from Prerna Saxena > with minimal refactoring. > > Signed-off-by: C