qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] qcow2: queue discards when discard-no-unref enabled
@ 2025-04-29 10:31 Jean-Louis Dupond
  2025-04-29 10:31 ` [PATCH 1/2] qcow2: rename update_refcount_discard to queue_discard Jean-Louis Dupond
  2025-04-29 10:31 ` [PATCH 2/2] qcow2: put discards in discard queue when discard-no-unref is enabled Jean-Louis Dupond
  0 siblings, 2 replies; 5+ messages in thread
From: Jean-Louis Dupond @ 2025-04-29 10:31 UTC (permalink / raw)
  To: qemu-devel
  Cc: Alexander Ivanov, Kevin Wolf, Andrey Drobyshev, Hanna Reitz,
	qemu-block, Jean-Louis Dupond

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-05-13 13:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-29 10:31 [PATCH 0/2] qcow2: queue discards when discard-no-unref enabled Jean-Louis Dupond
2025-04-29 10:31 ` [PATCH 1/2] qcow2: rename update_refcount_discard to queue_discard Jean-Louis Dupond
2025-04-29 10:31 ` [PATCH 2/2] qcow2: put discards in discard queue when discard-no-unref is enabled Jean-Louis Dupond
2025-05-12 12:28   ` Hanna Czenczek
2025-05-13 13:27     ` Jean-Louis Dupond

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).