qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/2] block: Fix qemu-img creating overlay when g


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 0/2] block: Fix qemu-img creating overlay when guest running
Date: Fri, 15 Dec 2017 13:51:29 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

On 12/15/2017 02:04 AM, Fam Zheng wrote:
> Shared write lock is not strictly necessary for creating the overlay image, if
> all what we want is to probe the size.

Theoretically, the size could be changing due to a resize operation.
But realistically, even if that happens, we will (hopefully) see either
the old size or the new size atomically (that is, I seriously doubt the
size information is split across multiple sectors of the in-use image to
the point that we could shard the read).

Series:
Reviewed-by: Eric Blake <address@hidden>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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