linux-aio: split processing events function
commit3407de572b19a9721d3a107fe5856ab3c40b6f52
authorRoman Pen <roman.penyaev@profitbricks.com>
Tue, 19 Jul 2016 12:27:42 +0000 (19 14:27 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 13 Sep 2016 10:00:55 +0000 (13 11:00 +0100)
tree7cde2f76928b697f760e34e1da54b185c78017bf
parent9e909a582916f313d9614ccdf994d4d5ad6e2e0f
linux-aio: split processing events function

Prepare processing events function to be called from ioq_submit(),
thus split function on two parts: the first harvests completed IO
requests, the second submits pending requests.

Signed-off-by: Roman Pen <roman.penyaev@profitbricks.com>
Message-id: 1468931263-32667-3-git-send-email-roman.penyaev@profitbricks.com
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/linux-aio.c