|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-block] [Qemu-devel] [PATCH v2 11/11] block: Only poll block layer fds in bdrv_aio_poll |
Date: | Fri, 11 Sep 2015 10:15:21 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
On 09/09/2015 05:22, Fam Zheng wrote: > Another advantage for bdrv_aio_poll() is, in main loop we will not need > a separate AioContext in changes like: > > http://patchwork.ozlabs.org/patch/514968/ > > Because nested aio_poll will automatically be limited to only process block > layer events. My idea is to eventually let main loop use aio_poll That would be a step back. Using GSource is useful because it lets you integrate libraries such as GTK+. Paolo > , which means > we would also move chardev onto it. It would be neat to put all fds of the > main > thread into a single AioContext.
[Prev in Thread] | Current Thread | [Next in Thread] |