From: Eric Blake <eblake@redhat.com>
To: Max Reitz <mreitz@redhat.com>, Kevin Wolf <kwolf@redhat.com>,
Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"qemu-block@nongnu.org" <qemu-block@nongnu.org>,
Denis Lunev <den@virtuozzo.com>
Subject: Re: [Qemu-devel] [PATCH 0/2] deal with BDRV_BLOCK_RAW
Date: Tue, 13 Aug 2019 09:50:57 -0500 [thread overview]
Message-ID: <be3b647a-f1a3-0723-754e-6b82380e0d0b@redhat.com> (raw)
In-Reply-To: <b0c32bfc-f4cf-0d46-beb8-ba4cf79b76c5@redhat.com>
[-- Attachment #1.1: Type: text/plain, Size: 1050 bytes --]
On 8/13/19 9:31 AM, Max Reitz wrote:
> On 13.08.19 13:51, Kevin Wolf wrote:
>
> [...]
>
>> Hm... This is a mess. :-)
>
> Just out of curiosity: Why?
>
> Aren’t there only two things we really need from the block_status
> infrastructure?
>
> (1) Whether something is allocated in the given layer of the backing chain,
(1)(a) - is it allocated in this layer
(1)(b) - is it allocated in any backing layer
>
> (2) Whether we know that a given range reads as zeroes.
>
> Do we really need anything else?
qemu-img map needs:
(3) What host-relative offset, if any, corresponds to a given
guest-visible offset.
I also need to find time to revisit my proposed patches on block_status
alignment - there are some cases where we want to ensure that one layer
with large granularity does not pick up mid-granularity changes in
status read from a backing layer with smaller granularity.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2019-08-13 14:51 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-12 18:11 [Qemu-devel] [PATCH 0/2] deal with BDRV_BLOCK_RAW Vladimir Sementsov-Ogievskiy
2019-08-12 18:11 ` [Qemu-devel] [PATCH 1/2] block/raw-format: switch to BDRV_BLOCK_DATA with BDRV_BLOCK_RECURSE Vladimir Sementsov-Ogievskiy
2019-08-13 11:04 ` Kevin Wolf
2019-08-13 11:28 ` Vladimir Sementsov-Ogievskiy
2019-08-13 12:01 ` Kevin Wolf
2019-08-13 13:21 ` [Qemu-devel] [Qemu-block] " Kevin Wolf
2019-08-13 14:46 ` Max Reitz
2019-08-13 14:43 ` [Qemu-devel] " Max Reitz
2019-08-13 14:56 ` Vladimir Sementsov-Ogievskiy
2019-08-13 15:03 ` Max Reitz
2019-08-13 15:22 ` Vladimir Sementsov-Ogievskiy
2019-08-13 16:07 ` Max Reitz
2019-08-13 15:41 ` Kevin Wolf
2019-08-13 15:54 ` Vladimir Sementsov-Ogievskiy
2019-08-13 16:08 ` Kevin Wolf
2019-08-13 16:32 ` Vladimir Sementsov-Ogievskiy
2019-08-14 6:27 ` Vladimir Sementsov-Ogievskiy
2019-08-13 16:21 ` Max Reitz
2019-08-12 18:11 ` [Qemu-devel] [PATCH 2/2] iotests: test mirroring qcow2 under raw format Vladimir Sementsov-Ogievskiy
2019-08-13 9:10 ` Kevin Wolf
2019-08-13 9:22 ` Vladimir Sementsov-Ogievskiy
2019-08-13 9:36 ` Kevin Wolf
2019-08-12 19:46 ` [Qemu-devel] [PATCH 0/2] deal with BDRV_BLOCK_RAW Max Reitz
2019-08-12 19:50 ` Max Reitz
2019-08-13 8:39 ` Vladimir Sementsov-Ogievskiy
2019-08-13 9:01 ` Vladimir Sementsov-Ogievskiy
2019-08-13 9:33 ` Vladimir Sementsov-Ogievskiy
2019-08-13 11:14 ` Vladimir Sementsov-Ogievskiy
2019-08-13 11:51 ` Kevin Wolf
2019-08-13 13:00 ` Vladimir Sementsov-Ogievskiy
2019-08-13 14:31 ` Max Reitz
2019-08-13 14:46 ` Vladimir Sementsov-Ogievskiy
2019-08-13 14:53 ` Max Reitz
2019-08-13 15:03 ` Kevin Wolf
2019-08-13 15:04 ` Max Reitz
2019-08-13 14:50 ` Eric Blake [this message]
2019-08-13 9:34 ` Kevin Wolf
2019-08-13 14:38 ` Max Reitz
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=be3b647a-f1a3-0723-754e-6b82380e0d0b@redhat.com \
--to=eblake@redhat.com \
--cc=den@virtuozzo.com \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=vsementsov@virtuozzo.com \
/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).