qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 11/16] block: explicitly acquire aiocontext in c


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 11/16] block: explicitly acquire aiocontext in callbacks that need it
Date: Mon, 16 Jan 2017 15:49:25 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1


On 16/01/2017 14:36, Fam Zheng wrote:
>> +        /* Note that the handlers do not expect any concurrency; qemu-nbd
>> +         * does not instantiate multiple AioContexts yet, nor does it call
>> +         * aio_poll/aio_dispatch from multiple threads.
>> +         */
>>          aio_set_fd_handler(client->exp->ctx, client->sioc->fd, true,
>>                             client->can_read ? nbd_read : NULL,
>>                             client->send_coroutine ? nbd_restart_write : 
>> NULL,
> 
> What about the built-in server (QMP nbd_server_start)?

Will fix. :)

Paolo



reply via email to

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