From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MiTnG-000321-BF for qemu-devel@nongnu.org; Tue, 01 Sep 2009 09:53:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MiTnB-0002sw-9C for qemu-devel@nongnu.org; Tue, 01 Sep 2009 09:53:05 -0400 Received: from [199.232.76.173] (port=57661 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiTnA-0002sh-MM for qemu-devel@nongnu.org; Tue, 01 Sep 2009 09:53:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:25519) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MiTn9-000802-NO for qemu-devel@nongnu.org; Tue, 01 Sep 2009 09:53:00 -0400 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n81Dqwdd008907 for ; Tue, 1 Sep 2009 09:52:58 -0400 From: Kevin Wolf Date: Tue, 1 Sep 2009 15:51:49 +0200 Message-Id: <1251813112-17408-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] block: Handle multiple write requests at once List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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(-)