qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH for-7.1 5/8] nbd: use a QemuMutex to synchronize reconnection


From: Paolo Bonzini
Subject: Re: [PATCH for-7.1 5/8] nbd: use a QemuMutex to synchronize reconnection with coroutines
Date: Wed, 13 Apr 2022 09:35:59 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

On 4/12/22 21:42, Paolo Bonzini wrote:
Because s->state is written in the main thread too, for example by
the reconnect timer callback, it cannot be protected by a CoMutex.

Actually by the yank callback, not the timer (which runs in the "right" AioContext).

Paolo




reply via email to

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