[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 06/45] block: add support for job pause/resum
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v2 06/45] block: add support for job pause/resume |
Date: |
Wed, 26 Sep 2012 11:31:19 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 |
On 09/26/2012 09:56 AM, Paolo Bonzini wrote:
> Job pausing reuses the existing support for cancellable sleeps. A pause
> happens at the next sleeping point and lasts until the coroutine is
> re-entered explicitly. Cancellation was already doing a forced resume,
> so implement it explicitly in terms of resume.
>
> Paused jobs cannot be canceled without first resuming them. This ensures
> that I/O errors are never missed by management.
>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> +++ b/qapi-schema.json
> @@ -1098,6 +1098,8 @@
> #
> # @len: the maximum progress value
> #
> +# @paused: whether the job is paused (since 1.2)
1.3
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
[Qemu-devel] [PATCH v2 07/45] qmp: add block-job-pause and block-job-resume, Paolo Bonzini, 2012/09/26
[Qemu-devel] [PATCH v2 08/45] qemu-iotests: add test for pausing a streaming operation, Paolo Bonzini, 2012/09/26
[Qemu-devel] [PATCH v2 09/45] block: rename block_job_complete to block_job_completed, Paolo Bonzini, 2012/09/26