[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/2] sheepdog: don't sleep in coroutine context
From: |
MORITA Kazutaka |
Subject: |
[Qemu-devel] [PATCH v2 0/2] sheepdog: don't sleep in coroutine context |
Date: |
Tue, 12 Mar 2013 16:05:41 +0900 |
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
- [Qemu-devel] [PATCH v2 0/2] sheepdog: don't sleep in coroutine context,
MORITA Kazutaka <=