[Sheepdog] [Qemu-devel] [PATCH] sheepdog: fix co_recv coroutine context

Kevin Wolf kwolf at redhat.com
Thu Feb 9 15:48:22 CET 2012


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 <morita.kazutaka at lab.ntt.co.jp>

Thanks, applied to the block branch.

Kevin



More information about the sheepdog mailing list