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

Re: [RFC PATCH 0/3] qemu: Propagate cluster size to new qcow2 images



On 8/26/20 9:56 AM, Peter Krempa wrote:
Cluster size may have performatnce implications. Propagate the cluster
size used by the original image to any copy or overlay.

Peter Krempa (3):
   qemu: monitor: Detect image cluster size from
     'query-named-block-nodes'
   qemu: block: Allow specifying cluster size when using
     'blockdev-create'
   qemuBlockStorageSourceCreateDetectSize: Propagate cluster size for
     'qcow2'

It's not as flexible as allowing the user to customize sizes, but it definitely makes sense and is a sane heuristic, better than adccidentally creating an overlay with 64k clusters atop a base image with 1M clusters.

Series:
Reviewed-by: Eric Blake <eblake redhat com>


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


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