On 02/12/2016 03:55 PM, Paolo Bonzini wrote:

On 12/02/2016 13:50, Dr. David Alan Gilbert wrote:
I'll admit to not really understanding what the difference is
between bh and coroutine context; I'd thought if it was all
in the main thread stuff was safe.
It's arguably a bug in the block layer code.  It assumes that all code
called from a coroutine wants not to block.  Moving stuff to a bottom
half tells the block layer that you want bdrv_invalidate_cache_all to block.

Paolo
cool description! Really short and exhaustive!

Reply via email to