Re: [Qemu-devel] [PATCH 7/9] virtio-scsi: use aio handler for data plane

2016-04-05 Thread Fam Zheng
On Fri, 04/01 15:19, Paolo Bonzini wrote: > In addition to handling IO in vcpu thread and in io thread, dataplane > introduces yet another mode: handling it by aio. > > This reuses the same handler as previous modes, which triggers races as > these were not designed to be reentrant. > > Use a sep

[Qemu-devel] [PATCH 7/9] virtio-scsi: use aio handler for data plane

2016-04-01 Thread Paolo Bonzini
In addition to handling IO in vcpu thread and in io thread, dataplane introduces yet another mode: handling it by aio. This reuses the same handler as previous modes, which triggers races as these were not designed to be reentrant. Use a separate handler just for aio, and disable regular handlers

Re: [Qemu-devel] [PATCH 7/9] virtio-scsi: use aio handler for data plane

2016-03-30 Thread Cornelia Huck
On Wed, 30 Mar 2016 14:48:06 +0200 Paolo Bonzini wrote: > In addition to handling IO in vcpu thread and in io thread, dataplane > introduces yet another mode: handling it by aio. > > This reuses the same handler as previous modes, which triggers races as > these were not designed to be reentrant

[Qemu-devel] [PATCH 7/9] virtio-scsi: use aio handler for data plane

2016-03-30 Thread Paolo Bonzini
In addition to handling IO in vcpu thread and in io thread, dataplane introduces yet another mode: handling it by aio. This reuses the same handler as previous modes, which triggers races as these were not designed to be reentrant. Use a separate handler just for aio, and disable regular handlers