mbox series

[0/2] block: allow commit to unmap zero blocks

Message ID 20240526192918.3503128-1-libvirt-e6954efa@volkihar.be (mailing list archive)
Headers show
Series block: allow commit to unmap zero blocks | expand

Message

Vincent Vanlaer May 26, 2024, 7:29 p.m. UTC
This patch series adds support for zero blocks in non-active commits.
The first patch in the series contains the actual changes to the commit
code, the second patch adds a test for the new functionality.

Vincent Vanlaer (2):
  block: allow commit to unmap zero blocks
  block: add test non-active commit with zeroed data

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