qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: Maor Lipchuk <mlipchuk@redhat.com>
Cc: qemu-devel@nongnu.org, Nir Soffer <nsoffer@redhat.com>,
	mreitz@redhat.com
Subject: Re: [Qemu-devel] Is qemu-img amend an atomic operation?
Date: Mon, 19 Dec 2016 14:10:22 +0100	[thread overview]
Message-ID: <20161219131022.GA4805@noname.redhat.com> (raw)
In-Reply-To: <CAJ1JNOc_HHVZOx_qZTWK=U_dn6_69UDnD3eDmoEVU4mYnCLC2w@mail.gmail.com>

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

  reply	other threads:[~2016-12-19 13:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2016-12-19 13:39     ` Maor Lipchuk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161219131022.GA4805@noname.redhat.com \
    --to=kwolf@redhat.com \
    --cc=mlipchuk@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=nsoffer@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).