commit | e7a8a7837a964e0fe327e6ef8dde02c6a53dd14a | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Fri Jul 15 16:05:00 2011 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Aug 04 11:27:15 2011 +0200 |
tree | a0b22171e9b1464fedba391d5f0f90321eb68814 | |
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>