qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH 28/42] job: Move .complete callback to Job


From: Max Reitz
Subject: Re: [Qemu-block] [PATCH 28/42] job: Move .complete callback to Job
Date: Mon, 14 May 2018 21:37:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 2018-05-09 18:26, Kevin Wolf wrote:
> This moves the .complete callback that tells a READY job to complete
> from BlockJobDriver to JobDriver. The wrapper function job_complete()
> doesn't require anything block job specific any more and can be moved
> to Job.
> 
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
>  include/block/blockjob.h     | 10 ----------
>  include/block/blockjob_int.h |  6 ------
>  include/qemu/job.h           |  8 ++++++++
>  block/mirror.c               | 10 +++++-----
>  blockdev.c                   |  2 +-
>  blockjob.c                   | 23 +++++------------------
>  job.c                        | 16 ++++++++++++++++
>  tests/test-bdrv-drain.c      |  6 +++---
>  tests/test-blockjob.c        | 10 +++++-----
>  9 files changed, 43 insertions(+), 48 deletions(-)
Reviewed-by: Max Reitz <address@hidden>

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]