Re: [Qemu-devel] [PATCH 6/6] block: switch bdrv_aio_writev() to coroutines

2011-10-10 Thread Zhi Yong Wu
On Thu, Oct 6, 2011 at 12:17 AM, Stefan Hajnoczi wrote: > More sync, aio, and coroutine unification.  Make bdrv_aio_writev() go > through coroutine request processing. > > Remove the dirty block callback mechanism which was needed only for aio > processing and can be done more naturally in corouti

[Qemu-devel] [PATCH 6/6] block: switch bdrv_aio_writev() to coroutines

2011-10-05 Thread Stefan Hajnoczi
More sync, aio, and coroutine unification. Make bdrv_aio_writev() go through coroutine request processing. Remove the dirty block callback mechanism which was needed only for aio processing and can be done more naturally in coroutine context. Signed-off-by: Stefan Hajnoczi --- block.c | 66 +