Received: from [140.186.70.92] (port=45375 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNelS-0007IK-LX for qemu-devel@nongnu.org; Tue, 30 Nov 2010 23:58:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNPch-0004Oi-29 for qemu-devel@nongnu.org; Tue, 30 Nov 2010 07:47:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]:2802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNPcg-0004K8-RP for qemu-devel@nongnu.org; Tue, 30 Nov 2010 07:47:55 -0500 From: Kevin Wolf Date: Tue, 30 Nov 2010 13:48:48 +0100 Message-Id: <1291121332-10588-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [RFC PATCH v3 0/4] block-queue: Delay and batch metadata writes List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, stefanha@gmail.com block-queue itself looks more or less ready to me now, the rest is possible bug fixes and addressing review comments. So please, give the first three patches a good review, they are in their final version otherwise. This series is only marked RFC because proper qcow2 integration is missing and merging block-queue doesn't make much sense without a user. Patch 4/4 contains a hackish version of qcow2 integration which I think should fully work (I think I addressed Stefan's comment), but is too ugly to be merged. Kevin Wolf (4): block: Implement bdrv_aio_pwrite Add block-queue Test cases for block-queue qcow2: Preliminary block-queue support Makefile | 1 + Makefile.objs | 2 +- block-queue.c | 736 ++++++++++++++++++++++++++++++++++++++++++++++++ block-queue.h | 61 ++++ block.c | 167 +++++++++++ block.h | 2 + block/qcow2-cluster.c | 39 ++-- block/qcow2-refcount.c | 62 ++-- block/qcow2.c | 83 ++++++- block/qcow2.h | 5 + check-block-queue.c | 402 ++++++++++++++++++++++++++ cpus.c | 8 +- qemu-common.h | 3 + qemu-tool.c | 5 + sysemu.h | 1 - 15 files changed, 1521 insertions(+), 56 deletions(-) create mode 100644 block-queue.c create mode 100644 block-queue.h create mode 100644 check-block-queue.c -- 1.7.2.3