Re: [Qemu-devel] [PATCH] block: push recursive flushing up from drivers

2012-03-12 Thread Paolo Bonzini
Il 12/03/2012 17:22, Kevin Wolf ha scritto: >> > In most cases, bdrv_co_flush_to_disk just needs to flush the underlying >> > file for protocols. Do this implicitly in the block layer. >> > >> > The backing file is also flushed, because it may still be open read-write >> > in the case of live sna

Re: [Qemu-devel] [PATCH] block: push recursive flushing up from drivers

2012-03-12 Thread Kevin Wolf
Am 12.03.2012 17:01, schrieb Paolo Bonzini: > In most cases, bdrv_co_flush_to_disk just needs to flush the underlying > file for protocols. Do this implicitly in the block layer. > > The backing file is also flushed, because it may still be open read-write > in the case of live snapshots. Is thi

[Qemu-devel] [PATCH] block: push recursive flushing up from drivers

2012-03-12 Thread Paolo Bonzini
In most cases, bdrv_co_flush_to_disk just needs to flush the underlying file for protocols. Do this implicitly in the block layer. The backing file is also flushed, because it may still be open read-write in the case of live snapshots. Signed-off-by: Paolo Bonzini --- block.c |9 +