« Previous | Next » 

Revision e7a8a783

IDe7a8a7837a964e0fe327e6ef8dde02c6a53dd14a

Added by Kevin Wolf almost 13 years ago

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 <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences