[Qemu-devel] [PATCH for-2.9 v7 0/3] Fix wipe of unaligned qcow2 image [was add blkdebug tests]

Eric Blake posted 3 patches 7 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20170330223645.349-1-eblake@redhat.com
Test checkpatch passed
Test docker passed
Test s390x passed
There is a newer version of this series
block/qcow2-cluster.c      |  10 +--
tests/qemu-iotests/097     |  27 +++----
tests/qemu-iotests/097.out | 180 ++++++++++++---------------------------------
tests/qemu-iotests/176     | 131 +++++++++++++++++++++++++++++++++
tests/qemu-iotests/176.out | 150 +++++++++++++++++++++++++++++++++++++
tests/qemu-iotests/group   |   1 +
6 files changed, 345 insertions(+), 154 deletions(-)
create mode 100755 tests/qemu-iotests/176
create mode 100644 tests/qemu-iotests/176.out
[Qemu-devel] [PATCH for-2.9 v7 0/3] Fix wipe of unaligned qcow2 image [was add blkdebug tests]
Posted by Eric Blake 7 years ago
Available as a tag at:
git fetch git://repo.or.cz/qemu/ericb.git nbd-blkdebug-v7

(which is somewhat of a misnomer for this current version of the
series, but historically correct)

v6 was:
https://lists.gnu.org/archive/html/qemu-devel/2017-03/msg01562.html

In that version, Kevin said patches 1 and 2 might be 2.9 material,
even if the rest of the series was 2.10 material. But in reviewing
patch 2, Max pointed out that my test didn't exercise a particular
corner case - and sure enough, improving the test showed that we
have a (minor) bug.  We don't discard as much of an unaligned image
as desired when discard goes through the slow path.

001/3:[----] [--] 'iotests: fix 097 when run with qcow'
002/3:[0082] [FC] 'iotests: Improve image-clear tests on non-aligned image'
003/3:[down] 'qcow2: Discard unaligned tail when wiping image'

(the blkdebug enhancements from the rest of v6 will be rebased
and posted as v8 once 2.10 is final)

Daniel P. Berrange (1):
  iotests: fix 097 when run with qcow

Eric Blake (2):
  iotests: Improve image-clear tests on non-aligned image
  qcow2: Discard unaligned tail when wiping image

 block/qcow2-cluster.c      |  10 +--
 tests/qemu-iotests/097     |  27 +++----
 tests/qemu-iotests/097.out | 180 ++++++++++++---------------------------------
 tests/qemu-iotests/176     | 131 +++++++++++++++++++++++++++++++++
 tests/qemu-iotests/176.out | 150 +++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/group   |   1 +
 6 files changed, 345 insertions(+), 154 deletions(-)
 create mode 100755 tests/qemu-iotests/176
 create mode 100644 tests/qemu-iotests/176.out

-- 
2.9.3