[virt-tools-list] [virt-manager] [PATCH] cli: --disk: Add driver.metadata_cache options

Cole Robinson crobinso at redhat.com
Wed Aug 17 14:13:15 UTC 2022


On 8/16/22 12:59 AM, Lin Ma wrote:
> Properly setting the metadata cache size can provide better performance
> in case of using big qcow2 images.
> 
> This patch introduces two driver options:
> * driver.metadata_cache.max_size
> * driver.metadata_cache.max_size.unit
> 
> E.g. --disk ...,driver.type=qcow2,\
>      driver.metadata_cache.max_size=2,\
>      driver.metadata_cache.max_size.unit=MiB
> 
> BTW, Metadata cache size control is currently supported only for qcow2.
> Regarding how to properly caluclate the cache size of qcow2, Please refer
> to qemu's documentation.
> 

Thanks, pushed now.

- Cole


More information about the virt-tools-list mailing list