Re: [Qemu-devel] [PATCH 3/4] qcow2: Discard preallocated zero clusters

2017-05-03 Thread Eric Blake
On 05/03/2017 06:11 PM, Max Reitz wrote: > In discard_single_l2(), we completely discard normal clusters instead of > simply turning them into preallocated zero clusters. That means we > should probably do the same with such preallocated zero clusters: > Discard them instead of keeping them allocat

[Qemu-devel] [PATCH 3/4] qcow2: Discard preallocated zero clusters

2017-05-03 Thread Max Reitz
In discard_single_l2(), we completely discard normal clusters instead of simply turning them into preallocated zero clusters. That means we should probably do the same with such preallocated zero clusters: Discard them instead of keeping them allocated. Reported-by: Eric Blake Signed-off-by: Max