[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [Qemu-devel] [PATCH] nbd: Use CoQueue for free_sema ins

From: Changlong Xie
Subject: Re: [Qemu-block] [Qemu-devel] [PATCH] nbd: Use CoQueue for free_sema instead of CoMutex
Date: Wed, 12 Oct 2016 18:32:03 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 10/12/2016 06:18 PM, Changlong Xie wrote:
time request       Actions
29   15(most case) in_flight=15, Coroutine=C15, free_sema->holder=C17, 

Per Paolo's suggestion "The simplest fix is to change it to CoQueue, which is 
like a condition
variable", this patch replaces CoMutex with CoQueue.

Cc: Wen Congyang<address@hidden>
Reported-by: zhanghailiang<address@hidden>
Suggested-by: Paolo Bonzini<address@hidden>
Signed-off-by: Changlong Xie<address@hidden>

Please refer to:


reply via email to

[Prev in Thread] Current Thread [Next in Thread]