[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Question: qemu crashed for re-entry of bdrv_drain_recur
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] Question: qemu crashed for re-entry of bdrv_drain_recurse |
Date: |
Tue, 6 Mar 2018 10:54:40 +0000 |
User-agent: |
Mutt/1.9.2 (2017-12-15) |
On Fri, Feb 09, 2018 at 07:57:42AM +0000, fuweiwei (C) wrote:
> We find a problem of reentrant of bdrv_drain_recurse() of the same bs, which
> makes
> Qemu assertion failed at
>
> assert(!bs_->wakeup);
>
> in BDRV_POLL_WHILE.
>
> To construct the problem, we do block-commit job (or others) while filling
> the space in host
> file-system to make it full. The VM should be automatically paused and at the
> same time, the
> block-commit job is completed. We get the following stack.
>
> We can see in #24 calls bdrv_drain_recurse, and polls a bh of
> commit_complete, which reopen
> the image and calls bdrv_drain_recurse again.
>
> How to solve this problem?
Thanks for the email. I have posted a patch and CCed you. Please test
it and let us know if it solves the issue.
Stefan
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] Question: qemu crashed for re-entry of bdrv_drain_recurse,
Stefan Hajnoczi <=