Re: [PATCH v3] qcow2: add discard-no-unref option

2023-06-05 Thread Hanna Czenczek
On 05.06.23 10:45, Jean-Louis Dupond wrote: When we for example have a sparse qcow2 image and discard: unmap is enabled, there can be a lot of fragmentation in the image after some time. Especially on VM's that do a lot of writes/deletes. This causes the qcow2 image to grow even over 110% of its

[PATCH v3] qcow2: add discard-no-unref option

2023-06-05 Thread Jean-Louis Dupond
When we for example have a sparse qcow2 image and discard: unmap is enabled, there can be a lot of fragmentation in the image after some time. Especially on VM's that do a lot of writes/deletes. This causes the qcow2 image to grow even over 110% of its virtual size, because the free gaps in the im