[PATCH 0/2] qcow2: queue discards when discard-no-unref enabled

Jean-Louis Dupond posted 2 patches 6 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250429103110.761910-1-jean-louis@dupond.be
Maintainers: Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>
There is a newer version of this series
block/qcow2-cluster.c  | 16 ++++++----------
block/qcow2-refcount.c | 25 +++++++++++++++++++++----
block/qcow2.h          |  4 ++++
3 files changed, 31 insertions(+), 14 deletions(-)
[PATCH 0/2] qcow2: queue discards when discard-no-unref enabled
Posted by Jean-Louis Dupond 6 months, 2 weeks ago
Partially based on the proposal of Andrey in
https://patchew.org/QEMU/20240913163942.423050-1-andrey.drobyshev@virtuozzo.com/
Split up this from the rest might get it merged a bit quicker hopefully :)

Since the implementation of discard-no-unref, we did not queue the discards correctly
when discard-no-unref was enabled.

Jean-Louis Dupond (2):
  qcow2: rename update_refcount_discard to queue_discard
  qcow2: put discards in discard queue when discard-no-unref is enabled

 block/qcow2-cluster.c  | 16 ++++++----------
 block/qcow2-refcount.c | 25 +++++++++++++++++++++----
 block/qcow2.h          |  4 ++++
 3 files changed, 31 insertions(+), 14 deletions(-)

-- 
2.49.0