|
From: | Hanna Czenczek |
Subject: | Re: [PATCH 1/7] qcow2: make function update_refcount_discard() global |
Date: | Tue, 31 Oct 2023 16:27:25 +0100 |
User-agent: | Mozilla Thunderbird |
On 20.10.23 23:56, Andrey Drobyshev wrote:
We are going to need it for discarding separate subclusters. The function itself doesn't do anything with the refcount tables,
I think the idea behind the naming was that updating refcounts can lead to clusters being discarded, i.e. update_refcount_discard() did the “discard” part of “update_refcount”.
it simply adds a discard request to the queue, so rename it to qcow2_queue_discard().
But that’s fine, too.
Signed-off-by: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com> --- block/qcow2-refcount.c | 8 ++++---- block/qcow2.h | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-)
Reviewed-by: Hanna Czenczek <hreitz@redhat.com>
[Prev in Thread] | Current Thread | [Next in Thread] |