qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] sheepdog: don't sleep in coroutine context
@ 2013-03-12  7:05 MORITA Kazutaka
  2013-03-12  7:05 ` [Qemu-devel] [PATCH v2 1/2] sheepdog: use non-blocking fd " MORITA Kazutaka
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: MORITA Kazutaka @ 2013-03-12  7:05 UTC (permalink / raw)
  To: kwolf, stefanha; +Cc: qemu-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-03-12  9:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-12  7:05 [Qemu-devel] [PATCH v2 0/2] sheepdog: don't sleep in coroutine context MORITA Kazutaka
2013-03-12  7:05 ` [Qemu-devel] [PATCH v2 1/2] sheepdog: use non-blocking fd " MORITA Kazutaka
2013-03-12  7:05 ` [Qemu-devel] [PATCH v2 2/2] sheepdog: set io_flush handler in do_co_req MORITA Kazutaka
2013-03-12  9:01 ` [Qemu-devel] [PATCH v2 0/2] sheepdog: don't sleep in coroutine context Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).