[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/8] block: keep a list of block jobs
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 1/8] block: keep a list of block jobs |
Date: |
Wed, 22 Apr 2015 14:00:11 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
On 04/16/2015 09:12 AM, Alberto Garcia wrote:
> The current way to obtain the list of existing block jobs is to
> iterate over all root nodes and check which ones own a job.
>
> Since we want to be able to support block jobs in other nodes as well,
> this patch keeps a list of jobs that is updated everytime one is
s/everytime/every time/
> created or destroyed.
>
> This also updates qmp_query_block_jobs() to use this new list.
>
> Signed-off-by: Alberto Garcia <address@hidden>
> Reviewed-by: Max Reitz <address@hidden>
> ---
> blockdev.c | 19 ++++++++-----------
> blockjob.c | 13 +++++++++++++
> include/block/blockjob.h | 14 ++++++++++++++
> 3 files changed, 35 insertions(+), 11 deletions(-)
>
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH 6/8] docs: Document how to stream to an intermediate layer, (continued)
- [Qemu-devel] [PATCH 6/8] docs: Document how to stream to an intermediate layer, Alberto Garcia, 2015/04/16
- [Qemu-devel] [PATCH 5/8] block: Add QMP support for streaming to an intermediate layer, Alberto Garcia, 2015/04/16
- [Qemu-devel] [PATCH 2/8] block: allow block jobs in any arbitrary node, Alberto Garcia, 2015/04/16
- [Qemu-devel] [PATCH 1/8] block: keep a list of block jobs, Alberto Garcia, 2015/04/16
- Re: [Qemu-devel] [PATCH 1/8] block: keep a list of block jobs,
Eric Blake <=
- [Qemu-devel] [PATCH 3/8] block: never cancel a streaming job without running stream_complete(), Alberto Garcia, 2015/04/16
- [Qemu-devel] [PATCH 4/8] block: Support streaming to an intermediate layer, Alberto Garcia, 2015/04/16
- [Qemu-devel] [PATCH 7/8] qemu-iotests: fix test_stream_partial(), Alberto Garcia, 2015/04/16