qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] block: Handle multiple write requests at once
@ 2009-09-01 13:51 Kevin Wolf
  2009-09-01 13:51 ` [Qemu-devel] [PATCH 1/3] Add bdrv_aio_multiwrite Kevin Wolf
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Kevin Wolf @ 2009-09-01 13:51 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf

virtio often issues multiple requests in a row, but each one independently. If
the block drivers knew all of the requests, they could optimize the way they
handle the requests. See the description of patch 3 for how qcow2 can use this
to avoid unnecessary writes to the disk.

Kevin Wolf (3):
  Add bdrv_aio_multiwrite
  virtio-blk: Use bdrv_aio_multiwrite
  qcow2: Add bdrv_aio_multiwrite implementation

 block.c         |   37 +++++++++++++++
 block.h         |   15 ++++++
 block/qcow2.c   |  134 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 block_int.h     |    3 +
 cutils.c        |   17 +++++++
 hw/virtio-blk.c |   50 +++++++++++++++++---
 qemu-common.h   |    1 +
 7 files changed, 249 insertions(+), 8 deletions(-)

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-09-02 17:26 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-01 13:51 [Qemu-devel] [PATCH 0/3] block: Handle multiple write requests at once Kevin Wolf
2009-09-01 13:51 ` [Qemu-devel] [PATCH 1/3] Add bdrv_aio_multiwrite Kevin Wolf
2009-09-01 13:51 ` [Qemu-devel] [PATCH 2/3] virtio-blk: Use bdrv_aio_multiwrite Kevin Wolf
2009-09-01 13:51 ` [Qemu-devel] [PATCH 3/3] qcow2: Add bdrv_aio_multiwrite implementation Kevin Wolf
2009-09-01 15:52 ` [Qemu-devel] [PATCH 0/3] block: Handle multiple write requests at once Christoph Hellwig
2009-09-01 16:08   ` Anthony Liguori
2009-09-01 16:14     ` Christoph Hellwig
2009-09-01 17:00     ` Avi Kivity
2009-09-01 16:59   ` Avi Kivity
2009-09-02  7:27   ` Kevin Wolf
2009-09-02 15:43     ` Christoph Hellwig
2009-09-02 15:50       ` Kevin Wolf
2009-09-02 17:26         ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).