Re: [Qemu-devel] [PATCH 0/6] block: do request processing in a coroutine

2011-10-12 Thread Kevin Wolf
Am 05.10.2011 18:17, schrieb Stefan Hajnoczi: > Block layer features like dirty block tracing, I/O throttling, and live block > copy are forced to duplicate code due to the three different interfaces: > synchronous, asynchronous, and coroutines. > > Since there are bdrv_read(), bdrv_aio_readv(), a

Re: [Qemu-devel] [PATCH 0/6] block: do request processing in a coroutine

2011-10-10 Thread Zhi Yong Wu
On Thu, Oct 6, 2011 at 12:17 AM, Stefan Hajnoczi wrote: > Block layer features like dirty block tracing, I/O throttling, and live block > copy are forced to duplicate code due to the three different interfaces: > synchronous, asynchronous, and coroutines. > > Since there are bdrv_read(), bdrv_aio_

[Qemu-devel] [PATCH 0/6] block: do request processing in a coroutine

2011-10-05 Thread Stefan Hajnoczi
Block layer features like dirty block tracing, I/O throttling, and live block copy are forced to duplicate code due to the three different interfaces: synchronous, asynchronous, and coroutines. Since there are bdrv_read(), bdrv_aio_readv(), and bdrv_co_readv() interfaces for read (and similar for