[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 2/3] block: Add AIO context notifiers
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v2 2/3] block: Add AIO context notifiers |
Date: |
Thu, 19 Jun 2014 12:01:42 +0800 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Wed, Jun 18, 2014 at 09:06:42PM +0200, Max Reitz wrote:
> If a long-running operation on a BDS wants to always remain in the same
> AIO context, it somehow needs to keep track of the BDS changing its
> context. This adds a function for registering callbacks on a BDS which
> are called whenever the BDS is attached or detached from an AIO context.
>
> Signed-off-by: Max Reitz <address@hidden>
> ---
> block.c | 56
> +++++++++++++++++++++++++++++++++++++++++++++++
> include/block/block_int.h | 41 ++++++++++++++++++++++++++++++++++
> 2 files changed, 97 insertions(+)
Reviewed-by: Stefan Hajnoczi <address@hidden>
pgp8sZG4CmE2D.pgp
Description: PGP signature