dataplane: implement async flush
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 8 May 2014 14:34:57 +0000 (16:34 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 4 Jun 2014 07:56:12 +0000 (09:56 +0200)
commit8d242f0ed5908333035dd5a8a94c06d7fe3b765c
tree739be395c89c178a740b4ce94429f89fdfcf1e38
parent0d6ecec2526d26ada9f4e44d27686a40ab9c087b
dataplane: implement async flush

Stop using the raw-posix file descriptor for synchronous
qemu_fdatasync().  Use bdrv_aio_flush() instead and drop the
VirtIOBlockDataPlane->fd field.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/block/dataplane/virtio-blk.c