qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC/ PATCH 0/2] qemu: Asynchronous task offloading framework.
@ 2010-05-10  6:15 Gautham R Shenoy
  2010-05-10  6:15 ` [Qemu-devel] [RFC/ PATCH 1/2] qemu: Create a generic asynchronous threading framework to offload tasks Gautham R Shenoy
  2010-05-10  6:15 ` [Qemu-devel] [RFC/ PATCH 2/2] qemu: Convert paio code to use the generic threading infrastructure Gautham R Shenoy
  0 siblings, 2 replies; 4+ messages in thread
From: Gautham R Shenoy @ 2010-05-10  6:15 UTC (permalink / raw)
  To: Qemu-development List

Hi,

This patch series is strictly RFC only.

It implements a generic asynchrnous task offloading threading framework
based on the threading model used in the AIO subsystem.

Currently within QEMU, AIO subsystem is the only one which creates a bunch of
asynchronous threads to execute any blocking operations so that the vcpu threads
and the IO thread can go back to servicing any other guest requests.

We would want to make use of this offloading model in case of virtio-9p where the
asynchronous threads handle the POSIX operations and transfer the control to the
IO thread which, depending on current-state in the state-machine, either offloads
more work to be handled by the asynnchronous thread pool or sends the results of
the operation to the guest.

For this purpose, we need a generic task-offloading infrastructure, and this
patch series implements just that.

The patch series passed fsstress test without any issues.

Awaiting your comments.
---

Aneesh Kumar K.V (1):
      qemu: Create a generic asynchronous threading framework to offload tasks

Gautham R Shenoy (1):
      qemu: Convert paio code to use the generic threading infrastructure.


 Makefile.objs      |    2 +
 async-work.c       |  149 ++++++++++++++++++++++++++++++++++++++++++++++++++
 async-work.h       |   85 ++++++++++++++++++++++++++++
 posix-aio-compat.c |  156 ++++++++++------------------------------------------
 4 files changed, 266 insertions(+), 126 deletions(-)
 create mode 100644 async-work.c
 create mode 100644 async-work.h

-- 
Thanks and Regards
gautham.

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

end of thread, other threads:[~2010-05-13  5:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-10  6:15 [Qemu-devel] [RFC/ PATCH 0/2] qemu: Asynchronous task offloading framework Gautham R Shenoy
2010-05-10  6:15 ` [Qemu-devel] [RFC/ PATCH 1/2] qemu: Create a generic asynchronous threading framework to offload tasks Gautham R Shenoy
2010-05-10  6:15 ` [Qemu-devel] [RFC/ PATCH 2/2] qemu: Convert paio code to use the generic threading infrastructure Gautham R Shenoy
2010-05-13  5:52   ` Venkateswararao Jujjuri (JV)

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).