]> git.proxmox.com Git - qemu.git/commit
dataplane: add Linux AIO request queue
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 14 Nov 2012 14:30:09 +0000 (15:30 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 2 Jan 2013 14:58:03 +0000 (15:58 +0100)
commit3e9ec521711ed033476098cfc7f23c992cc606a2
tree566cf03a34c4d78e62db132faa3dcee151a82d62
parent71973b046120a13df4eaa9143bed5ba8a67abc7f
dataplane: add Linux AIO request queue

The IOQueue has a pool of iocb structs and a function to add new
read/write requests.  Multiple requests can be added before calling the
submit function to actually tell the host kernel to begin I/O.  This
allows callers to batch requests and submit them in one go.

The actual I/O is performed using Linux AIO.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/dataplane/Makefile.objs
hw/dataplane/ioq.c [new file with mode: 0644]
hw/dataplane/ioq.h [new file with mode: 0644]