All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: Jean-Louis Dupond <jean-louis@dupond.be>
Cc: qemu-devel@nongnu.org,
	Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>,
	John Snow <jsnow@redhat.com>,
	Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>,
	Hanna Reitz <hreitz@redhat.com>,
	Fiona Ebner <f.ebner@proxmox.com>,
	qemu-block@nongnu.org
Subject: Re: [PATCH v2 3/3] iotests/290: add test case for qemu-img measure
Date: Fri, 30 Oct 2026 20:11:20 +0100	[thread overview]
Message-ID: <auTr2MD-y2aJTQMK@redhat.com> (raw)
In-Reply-To: <20260915140444.1223798-4-jean-louis@dupond.be>

Am 15.09.2026 um 16:04 hat Jean-Louis Dupond geschrieben:
> We create an image, write and discard some data in it, and then create a
> snapshot. In the snapshot we write and discard again some data.
> Then we measure the images with the base specified to calculate the
> merged image size. Finally we commit the image and check it's size.
> 
> This scenario is executed for discard-no-unref enabled and disabled.
> 
> Signed-off-by: Jean-Louis Dupond <jean-louis@dupond.be>

You could maybe add the cases I commented on in patch 2, i.e. having an
explicit zero cluster in the base file (which shouldn't count) and an
encrypted base (which should count its clusters despite not having
BDRV_BLOCK_OFFSET_VALID).

Kevin



  reply	other threads:[~2026-10-30 19:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-15 14:04 [PATCH v2 0/3] block: measure for commit Jean-Louis Dupond
2026-09-15 14:04 ` [PATCH v2 1/3] block: add bdrv_open_backing_chain_until Jean-Louis Dupond
2026-10-30 17:25   ` Kevin Wolf
2026-09-15 14:04 ` [PATCH v2 2/3] block: support measure for commit Jean-Louis Dupond
2026-10-30 19:06   ` Kevin Wolf
2026-09-15 14:04 ` [PATCH v2 3/3] iotests/290: add test case for qemu-img measure Jean-Louis Dupond
2026-10-30 19:11   ` Kevin Wolf [this message]
2026-10-13 11:10 ` [PATCH v2 0/3] block: measure for commit Jean-Louis Dupond

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=auTr2MD-y2aJTQMK@redhat.com \
    --to=kwolf@redhat.com \
    --cc=f.ebner@proxmox.com \
    --cc=hreitz@redhat.com \
    --cc=jean-louis@dupond.be \
    --cc=jsnow@redhat.com \
    --cc=pierrick.bouvier@oss.qualcomm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.