[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v6 06/18] aio: stop using .io_flush()
From: |
Jeff Cody |
Subject: |
Re: [Qemu-devel] [PATCH v6 06/18] aio: stop using .io_flush() |
Date: |
Fri, 26 Jul 2013 12:36:43 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Jul 26, 2013 at 06:25:18PM +0200, Paolo Bonzini wrote:
> Il 26/07/2013 18:10, Jeff Cody ha scritto:
> > + /* wait until next event that is not aio_notify() */
> > + while (count > 1) {
> >
> > This would assume of course that aio_notify() is always first in the
> > list.
>
> No, you cannot assume that. Any bdrv can be opened early (with -drive)
> and then associated to an AioContext that is created later (when the
> dataplane thread start).
>
> Paolo
>
OK, good point, thanks.
Jeff
- [Qemu-devel] [PATCH v6 00/18] aio: drop io_flush(), Stefan Hajnoczi, 2013/07/25
- [Qemu-devel] [PATCH v6 03/18] dataplane/virtio-blk: check exit conditions before aio_poll(), Stefan Hajnoczi, 2013/07/25
- [Qemu-devel] [PATCH v6 02/18] block: stop relying on io_flush() in bdrv_drain_all(), Stefan Hajnoczi, 2013/07/25
- [Qemu-devel] [PATCH v6 06/18] aio: stop using .io_flush(), Stefan Hajnoczi, 2013/07/25
- Re: [Qemu-devel] [PATCH v6 06/18] aio: stop using .io_flush(), Jeff Cody, 2013/07/26
- Re: [Qemu-devel] [PATCH v6 06/18] aio: stop using .io_flush(), Wenchao Xia, 2013/07/29
- [Qemu-devel] [PATCH v6 01/18] block: ensure bdrv_drain_all() works during bdrv_delete(), Stefan Hajnoczi, 2013/07/25
- [Qemu-devel] [PATCH v6 08/18] block/gluster: drop qemu_gluster_aio_flush_cb(), Stefan Hajnoczi, 2013/07/25
- [Qemu-devel] [PATCH v6 15/18] dataplane/virtio-blk: drop flush_true() and flush_io(), Stefan Hajnoczi, 2013/07/25
- [Qemu-devel] [PATCH v6 17/18] tests: drop event_active_cb(), Stefan Hajnoczi, 2013/07/25