Re: [PATCH 1/7] qcow2: make function update_refcount_discard() global

2023-10-31 Thread Hanna Czenczek
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.

[PATCH 1/7] qcow2: make function update_refcount_discard() global

2023-10-20 Thread Andrey Drobyshev
We are going to need it for discarding separate subclusters. The function itself doesn't do anything with the refcount tables, it simply adds a discard request to the queue, so rename it to qcow2_queue_discard(). Signed-off-by: Andrey Drobyshev --- block/qcow2-refcount.c | 8