From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xi4ec-0000U3-6m for qemu-devel@nongnu.org; Sat, 25 Oct 2014 12:57:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xi4eN-0000Ci-Lr for qemu-devel@nongnu.org; Sat, 25 Oct 2014 12:57:26 -0400 Received: from mx-v6.kamp.de ([2a02:248:0:51::16]:37467 helo=mx01.kamp.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xi4eN-0000C6-BX for qemu-devel@nongnu.org; Sat, 25 Oct 2014 12:57:11 -0400 From: Peter Lieven Date: Sat, 25 Oct 2014 18:55:47 +0200 Message-Id: <1414256153-10148-1-git-send-email-pl@kamp.de> Subject: [Qemu-devel] [PATCHv3 0/6] multiwrite patches for 2.2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, famz@redhat.com, benoit@irqsave.net, Peter Lieven , armbru@redhat.com, mreitz@redhat.com, stefanha@redhat.com This adds some preparing patches for upcoming multiwrite modifications. I will leave the dangerous patches for after 2.2 release. Due to oversized lines in the iotest output please pull from: git@github.com:plieven/qemu.git -b multiwrite_22_v3 v2->v3: - Removed statistic output for merged read requests [Eric] - Fixed double s-o-b line in Patch 3 [Eric] - Fixed iotest in Patch 5 [Max]. Renamed from 108 to 109. v1->v2: - incorporated Max's comments, but did not display the default value for write merging (Patch 3) in the HMP since we do not do it for other commands. I would change this when the default changes. - added an iotest for the write-merging cmdline parameter [Max] - fixed iotest 067 output Peter Lieven (6): block: add accounting for merged requests block: introduce bdrv_runtime_opts block: add a knob to disable multiwrite_merge hw/virtio-blk: add a constant for max number of merged requests block: add qemu-iotest for write-merge parameter block: fix qemu-iotest reference output for test 067 block.c | 49 +++++++++++++++++-- block/accounting.c | 7 +++ block/qapi.c | 2 + hmp.c | 8 +++- hw/block/virtio-blk.c | 4 +- include/block/accounting.h | 3 ++ include/block/block_int.h | 1 + qapi/block-core.json | 17 ++++++- qemu-options.hx | 1 + qmp-commands.hx | 2 + tests/qemu-iotests/067.out | 10 ++-- tests/qemu-iotests/109 | 113 ++++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/109.out | 68 ++++++++++++++++++++++++++ tests/qemu-iotests/group | 1 + 14 files changed, 272 insertions(+), 14 deletions(-) create mode 100755 tests/qemu-iotests/109 create mode 100644 tests/qemu-iotests/109.out -- 1.7.9.5