[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [0/25] Async threading for VirtFS using glib threads & coro
From: |
Venkateswararao Jujjuri (JV) |
Subject: |
[Qemu-devel] [0/25] Async threading for VirtFS using glib threads & coroutines. |
Date: |
Thu, 12 May 2011 13:57:22 -0700 |
VirtFS (fileserver base on 9P) performs many blocking system calls in the
vCPU context. This effort is to move the blocking calls out of vCPU/IO
thread context, into asynchronous threads.
Anthony's " Add hard build dependency on glib" patch and
Kevin/Stefan's coroutine effort is a prerequisite.
This patch set contains:
- Converting all 9pfs calls into coroutines.
- Each 9P operation will be modified for:
- Remove post* functions. These are our call back functions which makes
the code very hard to read. Now with coroutines, we can achieve the same
state machine model with nice sequential code flow.
- Move errno access near to the local_syscall()
- Introduce asynchronous threading
This series has the basic infrastructure and few routines like
mkdir,monod,unlink,readdir,xattr,lstat, etc converted.
Currently we are working on converting and testing other 9P operations also
into this model and those patches will follow shortly.
Removing callback functions made some of the patches little lengthy.
Here is the git tree for the reviewer convenience.
http://repo.or.cz/w/qemu/aliguori/jvrao.git/shortlog/refs/heads/9p-coroutines-round1
-Signed-off-by: Venkateswararao Jujjuri "<address@hidden>
- [Qemu-devel] [0/25] Async threading for VirtFS using glib threads & coroutines.,
Venkateswararao Jujjuri (JV) <=
- [Qemu-devel] [PATCH 05/25] [virtio-9p] Move errno into v9fs_do_readlink, Venkateswararao Jujjuri (JV), 2011/05/12
- [Qemu-devel] [PATCH 03/25] [virtio-9p] Remove post functions for v9fs_readlink., Venkateswararao Jujjuri (JV), 2011/05/12
- [Qemu-devel] [PATCH 04/25] [virtio-9p] clean up v9fs_readlink., Venkateswararao Jujjuri (JV), 2011/05/12
- [Qemu-devel] [PATCH 02/25] [virtio-9p] Change all pdu handlers to coroutines., Venkateswararao Jujjuri (JV), 2011/05/12
- [Qemu-devel] [PATCH 06/25] [virtio-9p] coroutines for readlink, Venkateswararao Jujjuri (JV), 2011/05/12
- [Qemu-devel] [PATCH 07/25] [virtio-9p] Remove post functions for v9fs_mkdir., Venkateswararao Jujjuri (JV), 2011/05/12
- [Qemu-devel] [PATCH 14/25] hw/9pfs: Update v9fs_getattr to use coroutines, Venkateswararao Jujjuri (JV), 2011/05/12
- [Qemu-devel] [PATCH 12/25] hw/9pfs: Update v9fs_statfs to use coroutines, Venkateswararao Jujjuri (JV), 2011/05/12