On Tue, Jun 26, 2018 at 04:24:28PM +0200, Kevin Wolf wrote:
> This fixes the problem that blockdev-create on a local file blocks the
> main loop despite being a background job. This was caused by file-posix
> preallocating the image with blocking syscalls rather than moving this
> to the thread pool and yielding the coroutine meanwhile.
>
> v2:
> - Add locking to qcow2_co_discard()
> - Extra qcow2 fix and cleanup related to the locking code
> - Use tracked requests infrastructure for serialising I/O requests
> against truncate in newly allocated areas
Looks good!