qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [Qemu-block] [PATCH v3 11/38] block: Fix BB AIOCB AioCo


From: Alberto Garcia
Subject: Re: [Qemu-devel] [Qemu-block] [PATCH v3 11/38] block: Fix BB AIOCB AioContext without BDS
Date: Thu, 04 Jun 2015 16:29:53 +0200
User-agent: Notmuch/0.13.2 (http://notmuchmail.org) Emacs/23.2.1 (i486-pc-linux-gnu)

On Wed 03 Jun 2015 09:43:52 PM CEST, Max Reitz <address@hidden> wrote:
> Fix the BlockBackend's AIOCB AioContext for aborting AIO in case there
> is no BDS. If there is no implementation of AIOCBInfo::get_aio_context()
> the AioContext is derived from the BDS the AIOCB belongs to. If that BDS
> is NULL (because it has been removed from the BB) this will not work.
>
> This patch makes blk_get_aio_context() fall back to the main loop
> context if the BDS pointer is NULL and implements
> AIOCBInfo::get_aio_context() (blk_aiocb_get_aio_context()) which invokes
> blk_get_aio_context().
>
> Signed-off-by: Max Reitz <address@hidden>
> Reviewed-by: Eric Blake <address@hidden>

Reviewed-by: Alberto Garcia <address@hidden>

Berto



reply via email to

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