On 05/19/2017 04:34 AM, Anton Nefedov wrote: > From: "Denis V. Lunev" <d...@openvz.org> > > This patch adds image preallocation at expand to provide better locality > of QCOW2 image file and optimize this procedure for some distributed > storages where this procedure is slow. > > Image expand requests have to be suspended until the allocation is > performed which is done via special QCowL2Meta. > This meta is invisible to handle_dependencies() code. > This is the main reason for also calling preallocation before metadata > write: it might intersect with preallocation triggered by another IO, > and has to yield
How does this interact with Max's work on preallocated truncate? https://lists.gnu.org/archive/html/qemu-devel/2017-04/msg00267.html -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature