qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>
To: qemu-block@nongnu.org
Cc: qemu-devel@nongnu.org, hreitz@redhat.com, kwolf@redhat.com,
	vsementsov@yandex-team.ru, pbonzini@redhat.com,
	eesposit@redhat.com, andrey.drobyshev@virtuozzo.com,
	den@virtuozzo.com
Subject: [PATCH v3 0/3] Fix data corruption within preallocation
Date: Tue, 16 Jul 2024 17:41:20 +0300	[thread overview]
Message-ID: <20240716144123.651476-1-andrey.drobyshev@virtuozzo.com> (raw)

v2 -> v3:

  * Patch 2: modify test case.  Increase number of requests from 1024 to
    2048; make odd requests write actual data, while even requests cause
    write_zeroes operation;

  * Add patch 3: add scripts/filev2p.py for mapping of virtual file
    offsets to physical block device offsets.  The script was used to
    initially track down the data corruption problem, so it's included
    here.

v2: https://lists.nongnu.org/archive/html/qemu-block/2024-07/msg00413.html

Andrey Drobyshev (2):
  iotests/298: add testcase for async writes with preallocation filter
  scripts: add filev2p.py script for mapping virtual file offsets
    mapping

Denis V. Lunev (1):
  block: zero data data corruption using prealloc-filter

 block/preallocate.c        |   8 +-
 scripts/filev2p.py         | 311 +++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/298     |  49 ++++++
 tests/qemu-iotests/298.out |   4 +-
 4 files changed, 369 insertions(+), 3 deletions(-)
 create mode 100755 scripts/filev2p.py

-- 
2.39.3



             reply	other threads:[~2024-07-16 14:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-16 14:41 Andrey Drobyshev [this message]
2024-07-16 14:41 ` [PATCH v3 1/3] block: zero data data corruption using prealloc-filter Andrey Drobyshev
2024-07-18 15:51   ` Kevin Wolf
2024-07-18 15:52     ` Denis V. Lunev
2024-07-18 19:46     ` Denis V. Lunev
2024-08-05 11:59       ` Kevin Wolf
2024-08-05 12:13         ` Denis V. Lunev
2024-07-16 14:41 ` [PATCH v3 2/3] iotests/298: add testcase for async writes with preallocation filter Andrey Drobyshev
2024-08-05 12:04   ` Kevin Wolf
2024-08-05 12:56     ` Andrey Drobyshev
2024-08-05 13:50       ` Kevin Wolf
2024-07-16 14:41 ` [PATCH v3 3/3] scripts: add filev2p.py script for mapping virtual file offsets mapping Andrey Drobyshev
2024-08-05 12:29   ` Kevin Wolf
2024-08-05 13:02     ` Andrey Drobyshev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240716144123.651476-1-andrey.drobyshev@virtuozzo.com \
    --to=andrey.drobyshev@virtuozzo.com \
    --cc=den@virtuozzo.com \
    --cc=eesposit@redhat.com \
    --cc=hreitz@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=vsementsov@yandex-team.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).