On 20.10.23 23:56, Andrey Drobyshev wrote:
When zeroizing the last non-zero subclusters within single cluster, it
makes sense to go zeroize the entire cluster and go down zero_in_l2_slice()
path right away.  That way we'd also update the corresponding refcount
table.

Signed-off-by: Andrey Drobyshev <andrey.drobys...@virtuozzo.com>
---
  block/qcow2-cluster.c | 18 +++++++++++++++---
  1 file changed, 15 insertions(+), 3 deletions(-)

Reviewed-by: Hanna Czenczek <hre...@redhat.com>


Reply via email to