qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/7] qcow2: zeroize the entire cluster when there're no non-z


From: Hanna Czenczek
Subject: Re: [PATCH 3/7] qcow2: zeroize the entire cluster when there're no non-zero subclusters
Date: Tue, 31 Oct 2023 17:06:18 +0100
User-agent: Mozilla Thunderbird

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.drobyshev@virtuozzo.com>
---
  block/qcow2-cluster.c | 18 +++++++++++++++---
  1 file changed, 15 insertions(+), 3 deletions(-)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]