Re: [Qemu-block] [PATCH 01/18] iothread: release iothread around aio_poll

2015-09-09 Thread Fam Zheng
On Thu, 08/06 15:35, Paolo Bonzini wrote: > This is the first step towards having fine-grained critical sections in > dataplane threads, which resolves lock ordering problems between > address_space_* functions (which need the BQL when doing MMIO, even > after we complete RCU-based dispatch) and

Re: [Qemu-block] [PATCH 01/18] iothread: release iothread around aio_poll

2015-09-09 Thread Paolo Bonzini
On 09/09/2015 08:06, Fam Zheng wrote: > This patch will probably go in before aio_disable_clients, Actually I think it's blocked by aio_disable_clients. > if any, but I'm not > quite confident about the interface yet: listing a precise set of clients from > monitor is an ugly coupling between

[Qemu-block] [PATCH 01/18] iothread: release iothread around aio_poll

2015-08-06 Thread Paolo Bonzini
This is the first step towards having fine-grained critical sections in dataplane threads, which resolves lock ordering problems between address_space_* functions (which need the BQL when doing MMIO, even after we complete RCU-based dispatch) and the AioContext. Because AioContext does not use