[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/8] qmp: Add QMP support for stream commands
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH 2/8] qmp: Add QMP support for stream commands |
Date: |
Fri, 29 Apr 2011 14:09:52 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10 |
Am 27.04.2011 15:27, schrieb Stefan Hajnoczi:
> From: Anthony Liguori <address@hidden>
>
> For leaf images with copy on read semantics, the stream commands allow the
> user
> to populate local blocks by manually streaming them from the backing image.
> Once all blocks have been streamed, the dependency on the original backing
> image can be removed. Therefore, stream commands can be used to implement
> post-copy live block migration and rapid deployment.
>
> The stream command can be used to stream a single sector, to start streaming
> the entire device, and to cancel an active stream. It is easiest to allow the
> stream command to manage streaming for the entire device but a managent tool
> could use single sector mode to throttle the I/O rate. When a single sector
> is
> streamed, the command returns an offset that can be used for a subsequent
> call.
You mean literally single sectors? You're not interested in completing
the job in finite time, are you? ;-)
I would suggest adding a length argument for the all=false case, so that
management tools can choose more reasonable sizes.
Kevin
- Re: [Qemu-devel] [PATCH 1/8] block: add bdrv_aio_stream, (continued)
- [Qemu-devel] [PATCH 3/8] qed: add support for Copy-on-Read, Stefan Hajnoczi, 2011/04/27
- [Qemu-devel] [PATCH 7/8] qed: Add QED_CF_STREAM flag to auto-enable streaming, Stefan Hajnoczi, 2011/04/27
- [Qemu-devel] [PATCH 4/8] qed: intelligent streaming implementation, Stefan Hajnoczi, 2011/04/27
- [Qemu-devel] [PATCH 6/8] blockdev: Allow image files to auto-enable streaming, Stefan Hajnoczi, 2011/04/27
- [Qemu-devel] [PATCH 5/8] qed: detect zero writes and skip them when to an unalloc cluster, Stefan Hajnoczi, 2011/04/27
- [Qemu-devel] [PATCH 2/8] qmp: Add QMP support for stream commands, Stefan Hajnoczi, 2011/04/27
- Re: [Qemu-devel] [PATCH 2/8] qmp: Add QMP support for stream commands,
Kevin Wolf <=
- [Qemu-devel] [PATCH 8/8] qed: Add -o stream=on image creation option, Stefan Hajnoczi, 2011/04/27
- Re: [Qemu-devel] [RFC PATCH 0/8] QED image streaming, Stefan Hajnoczi, 2011/04/27