Peng,
In my analysis, the root casue should be the lock: aio_context, qemu main
thread do an unnecessary release/aquire action,
That's why IO thread could get the lock it shouldn't hold at this stage.
Thanks,
Michael
At 2021-02-01 20:44:00, "Vladimir Sementsov-Ogievskiy"
wrote:
Hi!
01.02.2021 15:07, Peng Liang wrote:
Hi,
I encountered the problem months ago too. Could we move the creation of
the block job (block_job_create) before appending the new bs to
mirror_top_bs (bdrv_append) as I wrote in [*]? I found that after
bdrv_append, qemu will use mirror_top_bs to do
u_main_loop at ../softmmu/runstate.c:721
> #19 0x564b20f7975e in main at ../softmmu/main.c:50
>
> Thanks,
> Michael
>
> -Original Message-
> From: Vladimir Sementsov-Ogievskiy
> Sent: 2021年2月1日 18:28
> To: 08005...@163.com; kw...@redhat.com; mre..
nongnu.org
Subject: Re: [PATCH v4] blockjob: Fix crash with IOthread when block commit
after snapshot
Hi!
Tanks for fixing and sorry for a delay!
Please send each new version of a patch as a separate branch. It's a rule from
https://wiki.qemu.org/Contribute/SubmitAPatch and it is more readable and
Hi!
Tanks for fixing and sorry for a delay!
Please send each new version of a patch as a separate branch. It's a rule from
https://wiki.qemu.org/Contribute/SubmitAPatch and it is more readable and less
probable that your patch will be missed.
28.01.2021 04:30, 08005...@163.com wrote:
From: M
大玉
Subject: [PATCH v4] blockjob: Fix crash with IOthread when block commit after
snapshot
From: Michael Qiu
v4: rebase to latest code
v3: reformat the commit log, remove duplicate content
v2: modify the coredump backtrace within commit log with the newest
qemu with master branch
Currentl
Any comments?
-Original Message-
From: 08005...@163.com <08005...@163.com>
Sent: 2021年1月28日 9:31
To: kw...@redhat.com; mre...@redhat.com; js...@redhat.com
Cc: qemu-bl...@nongnu.org; qemu-devel@nongnu.org; 仇大玉
Subject: [PATCH v4] blockjob: Fix crash with IOthread when block commit
From: Michael Qiu
v4: rebase to latest code
v3: reformat the commit log, remove duplicate content
v2: modify the coredump backtrace within commit log with the newest
qemu with master branch
Currently, if guest has workloads, IO thread will acquire aio_context
lock before do io_submit, it l