diff options
author | Kevin Wolf <kwolf@redhat.com> | 2011-07-15 16:05:00 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-08-04 11:27:15 +0200 |
commit | e7a8a7837a964e0fe327e6ef8dde02c6a53dd14a (patch) | |
tree | a0b22171e9b1464fedba391d5f0f90321eb68814 /qemu-aio.h | |
parent | ba1d1afdfeeb5ec6cbfd0052ab298d9b7cb7e5ba (diff) |
block: Use bdrv_co_* instead of synchronous versions in coroutines
If we're already in a coroutine, there is no reason to use the synchronous
version of block layer functions when a coroutine one exists. This makes
bdrv_read/write/flush use bdrv_co_* when used inside a coroutine.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-aio.h')
0 files changed, 0 insertions, 0 deletions