|
From: | Denis V. Lunev |
Subject: | Re: [Qemu-devel] [PATCH 2/2] migration: move bdrv_invalidate_cache_all of of coroutine context |
Date: | Fri, 12 Feb 2016 19:25:08 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
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!
[Prev in Thread] | Current Thread | [Next in Thread] |