Re: [PATCH 28/32] qemublocktest: Add 'snapshots' tests for block commit bitmap handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/15/20 12:10 PM, Peter Krempa wrote:
Simulate commit between all the combinations of layers in the
'snapshots' case to see whether the code merges the correct bitmaps with
the correct depth of temporary bitmaps.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
  tests/qemublocktest.c                         |  14 ++
  .../bitmapblockcommit/snapshots-1-2           | 105 +++++++++++
  .../bitmapblockcommit/snapshots-1-3           | 131 ++++++++++++++
  .../bitmapblockcommit/snapshots-1-4           | 163 +++++++++++++++++
  .../bitmapblockcommit/snapshots-1-5           | 167 ++++++++++++++++++
  .../bitmapblockcommit/snapshots-2-3           |  65 +++++++
  .../bitmapblockcommit/snapshots-2-4           |  97 ++++++++++
  .../bitmapblockcommit/snapshots-2-5           | 101 +++++++++++
  .../bitmapblockcommit/snapshots-3-4           |  62 +++++++
  .../bitmapblockcommit/snapshots-3-5           |  66 +++++++
  .../bitmapblockcommit/snapshots-4-5           |  16 ++
  11 files changed, 987 insertions(+)
  create mode 100644 tests/qemublocktestdata/bitmapblockcommit/snapshots-1-2
  create mode 100644 tests/qemublocktestdata/bitmapblockcommit/snapshots-1-3
  create mode 100644 tests/qemublocktestdata/bitmapblockcommit/snapshots-1-4
  create mode 100644 tests/qemublocktestdata/bitmapblockcommit/snapshots-1-5
  create mode 100644 tests/qemublocktestdata/bitmapblockcommit/snapshots-2-3
  create mode 100644 tests/qemublocktestdata/bitmapblockcommit/snapshots-2-4
  create mode 100644 tests/qemublocktestdata/bitmapblockcommit/snapshots-2-5
  create mode 100644 tests/qemublocktestdata/bitmapblockcommit/snapshots-3-4
  create mode 100644 tests/qemublocktestdata/bitmapblockcommit/snapshots-3-5
  create mode 100644 tests/qemublocktestdata/bitmapblockcommit/snapshots-4-5


Lots of combinations, but that serves for good regression prevention.
Reviewed-by: Eric Blake <eblake@xxxxxxxxxx>

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux