Skip to content
  • Kevin Wolf's avatar
    async: Remove AsyncContext · 384acbf4
    Kevin Wolf authored
    
    
    The purpose of AsyncContexts was to protect qcow and qcow2 against reentrancy
    during an emulated bdrv_read/write (which includes a qemu_aio_wait() call and
    can run AIO callbacks of different requests if it weren't for AsyncContexts).
    
    Now both qcow and qcow2 are protected by CoMutexes and AsyncContexts can be
    removed.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    384acbf4