[PATCH v2 0/4] block: allow commit to unmap zero blocks

Vincent Vanlaer posted 4 patches 5 months, 2 weeks ago
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
[PATCH v2 0/4] block: allow commit to unmap zero blocks
Posted by Vincent Vanlaer 5 months, 2 weeks ago
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