qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] block: allow commit to unmap zero blocks
@ 2024-07-13 21:56 Vincent Vanlaer
  2024-07-13 21:56 ` [PATCH v2 1/4] block: get type of block allocation in commit_run Vincent Vanlaer
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Vincent Vanlaer @ 2024-07-13 21:56 UTC (permalink / raw)
  To: qemu-devel
  Cc: John Snow, Vladimir Sementsov-Ogievskiy, Kevin Wolf, qemu-block,
	Hanna Reitz, Vincent Vanlaer

This patch series adds support for zero blocks in non-active commits.
The first three patches in the series contains the actual changes to the
commit code, the last patch adds a test for the new functionality.

---

Changes since v1:
- split up the implementation in three separate commits
- removed accidentally left over includes from testing

Vincent Vanlaer (4):
  block: get type of block allocation in commit_run
  block: refactor commit_run for multiple write types
  block: allow commit to unmap zero blocks
  block: add test non-active commit with zeroed data

 block/commit.c             | 68 +++++++++++++++++++++------
 tests/qemu-iotests/315     | 95 ++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/315.out | 54 ++++++++++++++++++++++
 3 files changed, 204 insertions(+), 13 deletions(-)
 create mode 100755 tests/qemu-iotests/315
 create mode 100644 tests/qemu-iotests/315.out

-- 
2.44.1



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

end of thread, other threads:[~2024-09-01 10:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-13 21:56 [PATCH v2 0/4] block: allow commit to unmap zero blocks Vincent Vanlaer
2024-07-13 21:56 ` [PATCH v2 1/4] block: get type of block allocation in commit_run Vincent Vanlaer
2024-08-02 10:09   ` Vladimir Sementsov-Ogievskiy
2024-07-13 21:56 ` [PATCH v2 2/4] block: refactor commit_run for multiple write types Vincent Vanlaer
2024-08-02 10:22   ` Vladimir Sementsov-Ogievskiy
2024-07-13 21:56 ` [PATCH v2 3/4] block: allow commit to unmap zero blocks Vincent Vanlaer
2024-08-02 10:58   ` Vladimir Sementsov-Ogievskiy
2024-09-01 10:25     ` Vincent Vanlaer
2024-07-13 21:56 ` [PATCH v2 4/4] block: add test non-active commit with zeroed data Vincent Vanlaer

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).