[PATCH v2 0/3] qcow2: fix discard-no-unref=on data corruption

Andrey Drobyshev posted 3 patches 2 weeks, 3 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20261105161515.794213-1-andrey.drobyshev@virtuozzo.com
Maintainers: Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>
block/qcow2-cluster.c      |  6 +++--
tests/qemu-iotests/290     | 54 ++++++++++++++++++++++++++++++++++++++
tests/qemu-iotests/290.out | 33 +++++++++++++++++++++++
3 files changed, 91 insertions(+), 2 deletions(-)
[PATCH v2 0/3] qcow2: fix discard-no-unref=on data corruption
Posted by Andrey Drobyshev 2 weeks, 3 days ago
v1 -> v2:

  * Patch 1:
    - Add _require_disk_usage;
    - Clean $TEST_IMG.nounref;
    - Fix -fuse test run;
    - Drop R-b's;

  * Patch 2, 3: add R-b's.

v1: https://lore.kernel.org/qemu-devel/20261027104441.830212-1-andrey.drobyshev@virtuozzo.com

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
  iotests/290: add 'discard' and 'write -z -u' case with a snapshot

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

-- 
2.47.1
Re: [PATCH v2 0/3] qcow2: fix discard-no-unref=on data corruption
Posted by Kevin Wolf 2 weeks, 2 days ago
Am 05.11.2026 um 17:15 hat Andrey Drobyshev geschrieben:
> v1 -> v2:
> 
>   * Patch 1:
>     - Add _require_disk_usage;
>     - Clean $TEST_IMG.nounref;
>     - Fix -fuse test run;
>     - Drop R-b's;
> 
>   * Patch 2, 3: add R-b's.
> 
> v1: https://lore.kernel.org/qemu-devel/20261027104441.830212-1-andrey.drobyshev@virtuozzo.com
> 
> 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
>   iotests/290: add 'discard' and 'write -z -u' case with a snapshot

[Cc: qemu-stable]

Thanks, applied to the block branch.

Kevin