virtio-blk: Use bdrv_aio_multiwrite
authorKevin Wolf <kwolf@redhat.com>
Wed, 9 Sep 2009 15:53:38 +0000 (17:53 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 11 Sep 2009 15:18:06 +0000 (10:18 -0500)
commit8a24da46f60f1c913897f0aa6e43d56194938245
treea6114ca778506b4c20a73235315bef87bb038bea
parent5c72012156051ffc7be33921fbc39cc3693d7c25
virtio-blk: Use bdrv_aio_multiwrite

It is quite common for virtio-blk to submit more than one write request in a
row to the qemu block layer. Use bdrv_aio_multiwrite to allow block drivers to
optimize its handling of the requests.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-blk.c