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

2012-02-09 Thread Kevin Wolf
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 NUL

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

2012-01-31 Thread 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