1st commit with tests is my own old commit from previously unmerged
subcluster series [1].
2nd is the actual bug fix, 3rd is the regression test.

[1] 
https://lore.kernel.org/qemu-devel/[email protected]

Andrey Drobyshev (3):
  iotests/290: add test case to check 'discard-no-unref' option behavior
  qcow2: fix snapshot data corruption with discard-no-unref=on
    #VSTOR-151885
  iotests/290: add 'discard' and 'write -z -u' case with a snapshot
    #VSTOR-151885

 block/qcow2-cluster.c      |  6 +++--
 tests/qemu-iotests/290     | 50 ++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/290.out | 33 +++++++++++++++++++++++++
 3 files changed, 87 insertions(+), 2 deletions(-)

-- 
2.47.1


Reply via email to