qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] [Qemu-devel] [PATCH 06/18] block: access io_plugged wit


From: Eric Blake
Subject: Re: [Qemu-block] [Qemu-devel] [PATCH 06/18] block: access io_plugged with atomic ops
Date: Thu, 11 May 2017 11:10:01 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0

On 05/11/2017 09:41 AM, Paolo Bonzini wrote:
> Reviewed-by: Stefan Hajnoczi <address@hidden>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
>  block/io.c                | 4 ++--
>  include/block/block_int.h | 8 +++++---
>  2 files changed, 7 insertions(+), 5 deletions(-)

> @@ -625,6 +622,11 @@ struct BlockDriverState {
>       */
>      bool wakeup;
>  
> +    /* counter for nested bdrv_io_plug.
> +     * Accessed with atomic ops.
> +    */
> +    unsigned io_plugged;

Indentation is odd.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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