[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC 00/13] aio: drop io_flush()
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC 00/13] aio: drop io_flush() |
Date: |
Fri, 12 Apr 2013 12:27:05 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 |
Il 12/04/2013 12:04, Kevin Wolf ha scritto:
> Or actually, if you want to avoid .bdrv_drain for now, the patch that I
> started when I thought a bit about this, had a default .bdrv_drain
> implementation that just forwarded the request to bs->file if it wasn't
> implemented by a block driver. For the QED case, this would work.
It's similar to bdrv_co_flush. Drain bs first, then bs->backing_hd
(this is not needed in bdrv_co_flush), then bs->file, then the driver
can do it on other files.
Paolo
- [Qemu-devel] [RFC 10/13] block/sheepdog: drop have_co_req() and aio_flush_request(), (continued)
- [Qemu-devel] [RFC 10/13] block/sheepdog: drop have_co_req() and aio_flush_request(), Stefan Hajnoczi, 2013/04/11
- [Qemu-devel] [RFC 09/13] block/rbd: drop qemu_rbd_aio_flush_cb(), Stefan Hajnoczi, 2013/04/11
- [Qemu-devel] [RFC 13/13] aio: drop io_flush argument, Stefan Hajnoczi, 2013/04/11
- [Qemu-devel] [RFC 06/13] block/iscsi: drop iscsi_process_flush(), Stefan Hajnoczi, 2013/04/11
- [Qemu-devel] [RFC 04/13] block/curl: drop curl_aio_flush(), Stefan Hajnoczi, 2013/04/11
- [Qemu-devel] [RFC 08/13] block/nbd: drop nbd_have_request(), Stefan Hajnoczi, 2013/04/11
- [Qemu-devel] [RFC 02/13] dataplane/virtio-blk: check exit conditions before aio_poll(), Stefan Hajnoczi, 2013/04/11
- Re: [Qemu-devel] [RFC 00/13] aio: drop io_flush(), Kevin Wolf, 2013/04/12