summary refs log tree commit diff stats
path: root/include/qemu/queue.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-12-11 14:52:26 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2014-12-12 16:57:55 +0000
commit28b240877bbcdc8add61be227f429b536edd4653 (patch)
treec7e3834242bd0c927fa5856754caed7c89dee97d /include/qemu/queue.h
parentb5cf2c1b0897506a40e0c420391875acc484792b (diff)
downloadfocaccia-qemu-28b240877bbcdc8add61be227f429b536edd4653.tar.gz
focaccia-qemu-28b240877bbcdc8add61be227f429b536edd4653.zip
linux-aio: queue requests that cannot be submitted
Keep a queue of requests that were not submitted; pass them to
the kernel when a completion is reported, unless the queue is
plugged.

The array of iocbs is rebuilt every time from scratch.  This
avoids keeping the iocbs array and list synchronized.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 1418305950-30924-2-git-send-email-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/qemu/queue.h')
0 files changed, 0 insertions, 0 deletions