Re: [Qemu-devel] [PATCH v2 0/5] linux-aio: rewrite and simplify queuing code

2014-12-12 Thread Stefan Hajnoczi
On Thu, Dec 11, 2014 at 02:52:25PM +0100, Paolo Bonzini wrote: > This series rewrites the io_submit code to avoid having to > synchronize the iocbs in two places (qemu_laiocb and LaioQueue). > Instead, the queue of pending I/O requests is kept in a list. > > This fixes the problems with io_submit

Re: [Qemu-devel] [PATCH v2 0/5] linux-aio: rewrite and simplify queuing code

2014-12-11 Thread Kevin Wolf
Am 11.12.2014 um 14:52 hat Paolo Bonzini geschrieben: > This series rewrites the io_submit code to avoid having to > synchronize the iocbs in two places (qemu_laiocb and LaioQueue). > Instead, the queue of pending I/O requests is kept in a list. > > This fixes the problems with io_submit doing par

[Qemu-devel] [PATCH v2 0/5] linux-aio: rewrite and simplify queuing code

2014-12-11 Thread Paolo Bonzini
This series rewrites the io_submit code to avoid having to synchronize the iocbs in two places (qemu_laiocb and LaioQueue). Instead, the queue of pending I/O requests is kept in a list. This fixes the problems with io_submit doing partial submissions or failing with EAGAIN, without complicating th