Re: [Qemu-devel] [Qemu-block] [PATCH 2/9] iohandler: Use aio code

2015-06-18 Thread Fam Zheng
On Tue, 06/16 14:57, Stefan Hajnoczi wrote: > On Wed, Jun 10, 2015 at 04:59:44PM +0800, Fam Zheng wrote: > > diff --git a/iohandler.c b/iohandler.c > > index 826f713..f5d7704 100644 > > --- a/iohandler.c > > +++ b/iohandler.c > > @@ -32,111 +32,39 @@ > > #include > > #endif > > > > -typedef st

Re: [Qemu-devel] [Qemu-block] [PATCH 2/9] iohandler: Use aio code

2015-06-16 Thread Stefan Hajnoczi
On Wed, Jun 10, 2015 at 04:59:44PM +0800, Fam Zheng wrote: > diff --git a/iohandler.c b/iohandler.c > index 826f713..f5d7704 100644 > --- a/iohandler.c > +++ b/iohandler.c > @@ -32,111 +32,39 @@ > #include > #endif > > -typedef struct IOHandlerRecord { > -IOHandler *fd_read; > -IOHandl