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.drobys...@virtuozzo.com>
---
  block/qcow2-refcount.c | 8 ++++----
  block/qcow2.h          | 2 ++
  2 files changed, 6 insertions(+), 4 deletions(-)

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


Reply via email to