[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Is qemu-img amend an atomic operation?
From: |
Maor Lipchuk |
Subject: |
Re: [Qemu-devel] Is qemu-img amend an atomic operation? |
Date: |
Mon, 19 Dec 2016 15:39:08 +0200 |
On Mon, Dec 19, 2016 at 3:10 PM, Kevin Wolf <address@hidden> wrote:
> Am 19.12.2016 um 13:49 hat Maor Lipchuk geschrieben:
> >
> > On Mon, Dec 19, 2016 at 2:47 PM, Maor Lipchuk <address@hidden>
> 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!