qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Is qemu-img amend an atomic operation?
@ 2016-12-19 12:47 Maor Lipchuk
  2016-12-19 12:49 ` Maor Lipchuk
  0 siblings, 1 reply; 4+ messages in thread
From: Maor Lipchuk @ 2016-12-19 12:47 UTC (permalink / raw)
  To: qemu-devel

Hi All,

Does amend considered as an atomic operation or should we mark a volume as
ILLEGAL once the amend operation fails?

also, if I call amend, but downgrade the QCOW volume compatibility level
from 1.1 to 0.10, is that atomic as well (or not, based on the answer on
the previous question)?

Regards,
Maor

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] Is qemu-img amend an atomic operation?
  2016-12-19 12:47 [Qemu-devel] Is qemu-img amend an atomic operation? Maor Lipchuk
@ 2016-12-19 12:49 ` Maor Lipchuk
  2016-12-19 13:10   ` Kevin Wolf
  0 siblings, 1 reply; 4+ messages in thread
From: Maor Lipchuk @ 2016-12-19 12:49 UTC (permalink / raw)
  To: qemu-devel; +Cc: Nir Soffer, Kevin Wolf

On Mon, Dec 19, 2016 at 2:47 PM, Maor Lipchuk <mlipchuk@redhat.com> wrote:

> Hi All,
>
> Does amend considered as an atomic operation or should we mark a volume as
> ILLEGAL once the amend operation fails?
>
> also, if I call amend, but downgrade the QCOW volume compatibility level
> from 1.1 to 0.10, is that atomic as well (or not, based on the answer on
> the previous question)?
>
> Regards,
> Maor
>

Adding also Nir and Kevin to the thread.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] Is qemu-img amend an atomic operation?
  2016-12-19 12:49 ` Maor Lipchuk
@ 2016-12-19 13:10   ` Kevin Wolf
  2016-12-19 13:39     ` Maor Lipchuk
  0 siblings, 1 reply; 4+ messages in thread
From: Kevin Wolf @ 2016-12-19 13:10 UTC (permalink / raw)
  To: Maor Lipchuk; +Cc: qemu-devel, Nir Soffer, mreitz

Am 19.12.2016 um 13:49 hat Maor Lipchuk geschrieben:
> 
> On Mon, Dec 19, 2016 at 2:47 PM, Maor Lipchuk <mlipchuk@redhat.com> wrote:
> 
>     Hi All,
> 
>     Does amend considered as an atomic operation or should we mark a volume as
>     ILLEGAL once the amend operation fails?
> 
>     also, if I call amend, but downgrade the QCOW volume compatibility level
>     from 1.1 to 0.10, is that atomic as well (or not, based on the answer on
>     the previous question)?
> 
>     Regards,
>     Maor
> 
> Adding also Nir and Kevin to the thread.

Like with every other operation, the image is supposed to stay
consistent at all times, even if the host crashes in the middle.
Leaked clusters are the worst that should be possible, anything
else would be a bug.

Kevin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] Is qemu-img amend an atomic operation?
  2016-12-19 13:10   ` Kevin Wolf
@ 2016-12-19 13:39     ` Maor Lipchuk
  0 siblings, 0 replies; 4+ messages in thread
From: Maor Lipchuk @ 2016-12-19 13:39 UTC (permalink / raw)
  To: Kevin Wolf; +Cc: qemu-devel, Nir Soffer, mreitz

On Mon, Dec 19, 2016 at 3:10 PM, Kevin Wolf <kwolf@redhat.com> wrote:

> Am 19.12.2016 um 13:49 hat Maor Lipchuk geschrieben:
> >
> > On Mon, Dec 19, 2016 at 2:47 PM, Maor Lipchuk <mlipchuk@redhat.com>
> wrote:
> >
> >     Hi All,
> >
> >     Does amend considered as an atomic operation or should we mark a
> volume as
> >     ILLEGAL once the amend operation fails?
> >
> >     also, if I call amend, but downgrade the QCOW volume compatibility
> level
> >     from 1.1 to 0.10, is that atomic as well (or not, based on the
> answer on
> >     the previous question)?
> >
> >     Regards,
> >     Maor
> >
> > Adding also Nir and Kevin to the thread.
>
> Like with every other operation, the image is supposed to stay
> consistent at all times, even if the host crashes in the middle.
> Leaked clusters are the worst that should be possible, anything
> else would be a bug.
>
> Kevin
>


Great, thank you!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-12-19 13:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-19 12:47 [Qemu-devel] Is qemu-img amend an atomic operation? Maor Lipchuk
2016-12-19 12:49 ` Maor Lipchuk
2016-12-19 13:10   ` Kevin Wolf
2016-12-19 13:39     ` Maor Lipchuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).