Received: from eggs.gnu.org ([2001:4830:134:3::10]:34554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xgvsc-0002l5-S0 for qemu-devel@nongnu.org; Wed, 22 Oct 2014 09:23:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgvsS-0007BH-AC for qemu-devel@nongnu.org; Wed, 22 Oct 2014 09:23:10 -0400 Received: from mx-v6.kamp.de ([2a02:248:0:51::16]:54824 helo=mx01.kamp.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgvsR-0007BB-VE for qemu-devel@nongnu.org; Wed, 22 Oct 2014 09:23:00 -0400 From: Peter Lieven Date: Wed, 22 Oct 2014 15:21:54 +0200 Message-Id: <1413984120-21830-1-git-send-email-pl@kamp.de> Subject: [Qemu-devel] [PATCHv2 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, 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. 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 | 3 ++ hmp.c | 10 +++- hw/block/virtio-blk.c | 4 +- include/block/accounting.h | 3 ++ include/block/block_int.h | 1 + qapi/block-core.json | 19 +++++++- qemu-options.hx | 1 + qmp-commands.hx | 2 + tests/qemu-iotests/067.out | 10 ++-- tests/qemu-iotests/108 | 108 ++++++++++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/108.out | 63 ++++++++++++++++++++++++++ tests/qemu-iotests/group | 1 + 14 files changed, 267 insertions(+), 14 deletions(-) create mode 100755 tests/qemu-iotests/108 create mode 100644 tests/qemu-iotests/108.out -- 1.7.9.5