commit | 68485420187094c26f86faee5c7f68b5d6a03603 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Thu Jun 30 10:05:46 2011 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Aug 02 15:53:40 2011 +0200 |
tree | d28498a7e860f5b4ae1e93e8b502d8c6ddfb5880 | |
parent | da1fa91d6cca8a6d3da9c2b222fa485429db297c [diff] |
block: Emulate AIO functions with bdrv_co_readv/writev Use the bdrv_co_readv/writev callbacks to implement bdrv_aio_readv/writev and bdrv_read/write if a driver provides the coroutine version instead of the synchronous or AIO version. Signed-off-by: Kevin Wolf <kwolf@redhat.com>