On 05/23/2017 08:06 AM, Xieyingtai wrote:

[please don't top-post on technical lists]

> Thanks for your advice. It's truly effective to solve the deadlock issue
> by releasing AioContext in advance. While in some scenarios, AioContext
> could not be releasd such as external snapshot using transaction which
> should release AioContext together during clean up() procedure. This 
> leads to a dead lock in BDRV_POLL_WHILE when serveral BDS own the
> same AioContext.

Can you post a reproduction formula for the deadlock that you are seeing?

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to