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)
commit91553dcc9ea95ac0b92b57a4f33bfcbe8378e965
treea6114ca778506b4c20a73235315bef87bb038bea
parent40b4f539678266160badd5ac4afa9833f9089154
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