[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] sheepdog: fix co_recv coroutine context
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] sheepdog: fix co_recv coroutine context |
Date: |
Thu, 09 Feb 2012 15:48:22 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0 |
Am 30.01.2012 18:10, schrieb MORITA Kazutaka:
> The co_recv coroutine has two things that will try to enter it:
>
> 1. The select(2) read callback on the sheepdog socket.
> 2. The aio_add_request() blocking operations, including a coroutine
> mutex.
>
> This patch fixes it by setting NULL to co_recv before sending data.
>
> In future, we should make the sheepdog driver fully coroutine-based
> and simplify request handling.
>
> Signed-off-by: MORITA Kazutaka <address@hidden>
Thanks, applied to the block branch.
Kevin
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH] sheepdog: fix co_recv coroutine context,
Kevin Wolf <=