[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 0/2] sheepdog: don't sleep in coroutine conte
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v2 0/2] sheepdog: don't sleep in coroutine context |
Date: |
Tue, 12 Mar 2013 10:01:58 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Mar 12, 2013 at 04:05:41PM +0900, MORITA Kazutaka wrote:
> This patch prevents the sheepdog driver from sleeping in coroutine
> context long time.
>
> The first patch makes the driver use a non-blocking socket and the
> second one fixes a bug that yielded coroutines aren't entered.
>
> Changes from v2:
> - add a patch to use non-blocking fd
> - add explanation why it is safe to io_flush to NULL
>
>
> MORITA Kazutaka (2):
> sheepdog: use non-blocking fd in coroutine context
> sheepdog: set io_flush handler in do_co_req
>
> block/sheepdog.c | 19 +++++++++++++------
> 1 file changed, 13 insertions(+), 6 deletions(-)
>
> --
> 1.8.1.3.566.gaa39828
>
>
Thanks, applied to my block-next tree:
https://github.com/stefanha/qemu/commits/block-next
Stefan