qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/12] Threadlet Infrastructure
@ 2011-01-20 12:33 Arun R Bharadwaj
  2011-01-20 12:33 ` [Qemu-devel] [PATCH 01/12] Add aiocb_mutex and aiocb_completion Arun R Bharadwaj
                   ` (11 more replies)
  0 siblings, 12 replies; 14+ messages in thread
From: Arun R Bharadwaj @ 2011-01-20 12:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, aliguori, jvrao, aneesh.kumar, stefanha

Hi,

This patch series introduces threadlet framework
in qemu.

Changelog:

* Modified the dequeue_work function logic which was
  earlier wrong. It now returns 0 on success and 1 on
  failure.

* removed the locking for container_of which is not 
  needed in handle_work()

* changed qemu-threadlets.[c|h] to qemu-threadlet.[c|h]

* introduced signal handler APIs in qemu-threadlet.c
  directly instead of in posix-aio-compat.c

Testing:

* I have tested this series using fsstress.
  Detailed testing information has been mentioned in the
  previous iteration.

The following series implements...

---

Arun R Bharadwaj (12):
      Add aiocb_mutex and aiocb_completion.
      Introduce work concept in posix-aio-compat.c
      Add callback function to ThreadletWork structure.
      Add ThreadletQueue.
      Threadlet: Add submit_work threadlet API.
      Threadlet: Add dequeue_work threadlet API and remove active field.
      Remove thread_create routine.
      Threadlet: Add aio_signal_handler threadlet API
      Remove all instances of CONFIG_THREAD
      Move threadlet code to qemu-threadlets.c
      Threadlets: Add functionality to create private queues.
      Threadlets: Add documentation


 Makefile.objs          |    3 -
 configure              |    2 
 docs/async-support.txt |  141 ++++++++++++++++++++++++++++
 posix-aio-compat.c     |  238 ++++++++++++------------------------------------
 qemu-threadlet.c       |  187 ++++++++++++++++++++++++++++++++++++++
 qemu-threadlet.h       |   48 ++++++++++
 vl.c                   |    3 +
 7 files changed, 440 insertions(+), 182 deletions(-)
 create mode 100644 docs/async-support.txt
 create mode 100644 qemu-threadlet.c
 create mode 100644 qemu-threadlet.h

-- 
arun

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [Qemu-devel] [PATCH 00/12] Threadlets Infrastructure.
@ 2011-01-13 12:14 Arun R Bharadwaj
  2011-01-13 12:14 ` [Qemu-devel] [PATCH 02/12] Introduce work concept in posix-aio-compat.c Arun R Bharadwaj
  0 siblings, 1 reply; 14+ messages in thread
From: Arun R Bharadwaj @ 2011-01-13 12:14 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, aliguori, jvrao, aneesh.kumar

Hi,

This series implements threadlets infrastructure:

Changelog:

* Changed the name aio_thread to handle_work.

* Corrected the usage of aiocb->ret which has to be
  accessed under aiocb_mutex.

* Merged the patche which add dequeue_work with the patch
  which removes the unused active field in paio structure
  so that the logic of paio_cancel is not broken.


Here are the details regarding the testing that has been
carried out on the patchset:

* kvm-autotest run with guest running fedora 14. The following
  tests were run successfully: disktest, bonnie, fsstress, blast,
  ffsb.
 
* bonnie test run on fedora guest on block device.
 
* iozone -l test run on fedora guest to stress the posix-aio-compat.c
  code. (suggested by Stefan)

* windows guest installation test and iozone -l test run on windows
  guest.


The following series implements...

---

Arun R Bharadwaj (12):
      Add aiocb_mutex and aiocb_completion.
      Introduce work concept in posix-aio-compat.c
      Add callback function to ThreadletWork structure.
      Add ThreadletQueue.
      Threadlet: Add submit_work threadlet API.
      Threadlet: Add dequeue_work threadlet API and remove active field.
      Remove thread_create routine.
      Threadlet: Add aio_signal_handler threadlet API
      Remove all instances of CONFIG_THREAD
      Move threadlet code to qemu-threadlets.c
      Threadlets: Add functionality to create private queues.
      Threadlets: Add documentation


 Makefile.objs          |    3 -
 configure              |    2 
 docs/async-support.txt |  141 ++++++++++++++++++++++++++++
 posix-aio-compat.c     |  242 ++++++++++++------------------------------------
 qemu-threadlets.c      |  175 +++++++++++++++++++++++++++++++++++
 qemu-threadlets.h      |   47 +++++++++
 vl.c                   |    3 +
 7 files changed, 430 insertions(+), 183 deletions(-)
 create mode 100644 docs/async-support.txt
 create mode 100644 qemu-threadlets.c
 create mode 100644 qemu-threadlets.h

-- 
arun

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

end of thread, other threads:[~2011-01-20 12:43 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-20 12:33 [Qemu-devel] [PATCH 00/12] Threadlet Infrastructure Arun R Bharadwaj
2011-01-20 12:33 ` [Qemu-devel] [PATCH 01/12] Add aiocb_mutex and aiocb_completion Arun R Bharadwaj
2011-01-20 12:33 ` [Qemu-devel] [PATCH 02/12] Introduce work concept in posix-aio-compat.c Arun R Bharadwaj
2011-01-20 12:33 ` [Qemu-devel] [PATCH 03/12] Add callback function to ThreadletWork structure Arun R Bharadwaj
2011-01-20 12:33 ` [Qemu-devel] [PATCH 04/12] Add ThreadletQueue Arun R Bharadwaj
2011-01-20 12:33 ` [Qemu-devel] [PATCH 05/12] Threadlet: Add submit_work threadlet API Arun R Bharadwaj
2011-01-20 12:33 ` [Qemu-devel] [PATCH 06/12] Threadlet: Add dequeue_work threadlet API and remove active field Arun R Bharadwaj
2011-01-20 12:33 ` [Qemu-devel] [PATCH 07/12] Remove thread_create routine Arun R Bharadwaj
2011-01-20 12:34 ` [Qemu-devel] [PATCH 08/12] Threadlet: Add aio_signal_handler threadlet API Arun R Bharadwaj
2011-01-20 12:34 ` [Qemu-devel] [PATCH 09/12] Remove all instances of CONFIG_THREAD Arun R Bharadwaj
2011-01-20 12:34 ` [Qemu-devel] [PATCH 10/12] Move threadlet code to qemu-threadlets.c Arun R Bharadwaj
2011-01-20 12:34 ` [Qemu-devel] [PATCH 11/12] Threadlets: Add functionality to create private queues Arun R Bharadwaj
2011-01-20 12:34 ` [Qemu-devel] [PATCH 12/12] Threadlets: Add documentation Arun R Bharadwaj
  -- strict thread matches above, loose matches on Subject: below --
2011-01-13 12:14 [Qemu-devel] [PATCH 00/12] Threadlets Infrastructure Arun R Bharadwaj
2011-01-13 12:14 ` [Qemu-devel] [PATCH 02/12] Introduce work concept in posix-aio-compat.c Arun R Bharadwaj

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