|
From: | l00284672 |
Subject: | Re: [Qemu-block] [PATCH] file-posix: unlock qemu_global_mutex before pread when attach disk |
Date: | Tue, 11 Jun 2019 10:53:22 +0800 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
-- Would the "open" hang as well in that case? The "open" doesn't hang in that case. Do you have any better solutions to solve this problem in the case?
On 2019/6/11 0:03, Paolo Bonzini wrote:
On 10/06/19 16:51, l00284672 wrote:The pread will hang in attaching disk just when backend storage network disconnection .Would the "open" hang as well in that case?I think the locking range of qemu_global_mutex is too large when do qmp operation. what does the qemu_global_mutex really protect?Basically everything.what is the risk of unlocking qemu_global_mutex in qmp?It's not QMP; it's specifically the code that calls raw_probe_alignment. Paolo .
lizhengui.vcf
Description: Vcard
[Prev in Thread] | Current Thread | [Next in Thread] |