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

2023-06-05 Thread Jean-Louis Dupond
On 2/06/2023 17:28, Hanna Czenczek wrote: On 02.06.23 14:47, 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

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

2023-06-02 Thread Hanna Czenczek
On 02.06.23 14:47, 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 v2] qcow2: add discard-no-unref option

2023-06-02 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