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 -- 2.42.0