qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 19/42] job: Add job_sleep_ns()


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH 19/42] job: Add job_sleep_ns()
Date: Mon, 14 May 2018 18:57:34 +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:
> There is nothing block layer specific about block_job_sleep_ns(), so
> move the function to Job.
> 
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
>  include/block/blockjob_int.h | 11 -----------
>  include/qemu/job.h           | 17 +++++++++++++++++
>  block/backup.c               |  2 +-
>  block/commit.c               |  2 +-
>  block/mirror.c               |  4 ++--
>  block/stream.c               |  2 +-
>  blockjob.c                   | 27 ---------------------------
>  job.c                        | 32 ++++++++++++++++++++++++++++++++
>  tests/test-bdrv-drain.c      |  8 ++++----
>  tests/test-blockjob-txn.c    |  2 +-
>  tests/test-blockjob.c        |  2 +-
>  11 files changed, 60 insertions(+), 49 deletions(-)

The Job.sleep_timer documentation should be adjusted.  With that done:

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]