qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] qemu-img: let qemu-img behave as the manual adv


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] qemu-img: let qemu-img behave as the manual advertise
Date: Wed, 11 Apr 2012 09:32:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1

Il 11/04/2012 04:42, Liu Yuan ha scritto:
>  1) if we use bdrv_close(), we rely on the assumption that backend
> storage will do flushing while interpreting this operation. This
> assumption might not always hold, for e.g, current sheepdog doesn't do
> flushing for bdrv_close(). So bdrv_flush() will be the safest method to
> push the data back.
>  2) explicit flushing is more maintainable, we don't need to guess if it
> does flushing internally if we use other function that flush implicitly.

I think it is reasonable semantics that closing gets all data to storage.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]