]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Introduce 'extended_l2' feature for storage volume
authorPeter Krempa <pkrempa@redhat.com>
Tue, 14 Dec 2021 15:05:09 +0000 (16:05 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 21 Dec 2021 12:23:09 +0000 (13:23 +0100)
commit66566e84b86ec128c61554c59c8af8e1334c2520
tree949e13654c7c8133f5056ebdc5004fa9c6845607
parent14584c665ed9775fb7d4c1e3077f35a607f753d3
storage: Introduce 'extended_l2' feature for storage volume

QCOW2 images now support 'extended_l2' which splits the default clusters
into 32 subcluster allocation units. This allows the allocation units to
be smaller without increasing the size of L2 table too much and thus also
the cache requirements for holding the full L2 table in memory.

Unfortunately it's incompatible with qemu versions older than 5.2 thus
can't be used as default.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/formatstorage.rst
docs/schemas/storagecommon.rng
src/conf/storage_source_conf.c
src/conf/storage_source_conf.h
src/storage/storage_util.c
tests/storagevolxml2argvdata/qcow2-clusterSize.argv
tests/storagevolxml2xmlin/vol-qcow2-clusterSize.xml
tests/storagevolxml2xmlout/vol-qcow2-clusterSize.xml