Re: [Nbd] [Qemu-devel] [PATCH v3] doc: Add NBD_CMD_BLOCK_STATUS extension
- To: John Snow <jsnow@...696...>
- Cc: "nbd-general@lists.sourceforge.net" <nbd-general@lists.sourceforge.net>, Kevin Wolf <kwolf@...696...>, Vladimir Sementsov-Ogievskiy <vsementsov@...2319...>, "qemu-devel@...530..." <qemu-devel@...530...>, Paolo Bonzini <pbonzini@...696...>, Pavel Borzenkov <pborzenkov@...2319...>, "Stefan stefanha@...2321... com" <stefanha@...696...>, Wouter Verhelst <w@...112...>, Markus Pargmann <mpa@...1897...>, "Denis V. Lunev" <den@...2317...>
- Subject: Re: [Nbd] [Qemu-devel] [PATCH v3] doc: Add NBD_CMD_BLOCK_STATUS extension
- From: Alex Bligh <alex@...872...>
- Date: Sat, 3 Dec 2016 11:08:23 +0000
- Message-id: <0DECAE06-3346-4A8A-9EC1-91D487657897@...872...>
- In-reply-to: <16bd28b9-2a03-ea05-46ed-9b08f478c9bd@...696...>
- References: <1480073296-6931-1-git-send-email-vsementsov@...2319...> <F075D231-9CBE-437C-B9F0-0DE2AB98007B@...872...> <ed5f8fc7-c7c8-c678-668f-17047dbe0b23@...696...> <4329D951-F1D0-4B0B-99AB-9F1B7D3DA99B@...872...> <16bd28b9-2a03-ea05-46ed-9b08f478c9bd@...696...>
> On 2 Dec 2016, at 20:39, John Snow <jsnow@...696...> wrote:
>
> OK. We do certainly support multiple bitmaps being active at a time in
> QEMU, but I had personally always envisioned that you'd associate them
> one-at-a-time when starting the NBD export of a particular device.
>
> I don't have a use case in my head where two distinct bitmaps being
> exposed simultaneously offer any particular benefit, but maybe there is
> something. I'm sure there is.
The obvious case is an allocation bitmap, and a dirty bitmap.
It's possible one might want more than one dirty bitmap at once.
Perhaps two sorts of backup, or perhaps live migrate of storage
backed by NBD, or perhaps inspecting the *state* of live migration
via NBD and a bitmap, or perhaps determining what extents in
a QCOW image are in that image itself (as opposed to the image
on which it is based).
I tried to pick some QEMU-like ones, but I am sure there are
examples that would work outside of QEMU.
--
Alex Bligh
Reply to: