qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 04/11] block: make before-write notifiers thread


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 04/11] block: make before-write notifiers thread-safe
Date: Mon, 10 Jul 2017 16:50:34 +0100
User-agent: Mutt/1.8.0 (2017-02-23)

On Thu, Jul 06, 2017 at 06:38:21PM +0200, Paolo Bonzini wrote:
> Reads access the list in RCU style, so be careful to avoid use-after-free
> scenarios in the backup block job.  Apart from this, all that's needed
> is protecting updates with a mutex.
> 
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
>  block/backup.c            | 17 +++++++++++++----
>  block/io.c                | 12 ++++++++++++
>  block/write-threshold.c   |  2 +-
>  include/block/block_int.h | 16 ++++++++++++++++
>  4 files changed, 42 insertions(+), 5 deletions(-)

Reviewed-by: Stefan Hajnoczi <address@hidden>

Attachment: signature.asc
Description: PGP signature


reply via email to

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