From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b9tv2-0002ee-9b for qemu-devel@nongnu.org; Mon, 06 Jun 2016 08:46:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b9tv1-0005EJ-CX for qemu-devel@nongnu.org; Mon, 06 Jun 2016 08:46:12 -0400 From: Kevin Wolf Date: Mon, 6 Jun 2016 14:45:57 +0200 Message-Id: <1465217162-21115-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/5] block: Introduce qemu-img bench List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: kwolf@redhat.com, mreitz@redhat.com, eblake@redhat.com, den@openvz.org, qemu-devel@nongnu.org After merging Den's qcow2 patch to avoid duplicated flushes, I thought I would be nice to reproduce the problem and I remembered 'qemu-img bench', which I had posted before as part of more than one RFC series, but which never made it to master somehow. So here is a rebased and cleaned up version of it, just by itself, so that it hopefully can be merged finally. Of course, I failed to actually reproduce the problem on my laptop. Who knows, something on my system might be more intelligent about useless flushes, or maybe I just misunderstood what the problematic scenario looks like at the block level. Doesn't make the tool less useful, though, and I already did the rebasing. v2: - Added --pattern=... option for writes [Den] - Added --no-drain option for write+flush tests [Den] Kevin Wolf (5): qemu-img bench qemu-img bench: Sequential writes qemu-img bench: Make start offset configurable qemu-img bench: Implement -S (step size) qemu-img bench: Add --flush-interval qemu-img-cmds.hx | 6 + qemu-img.c | 329 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ qemu-img.texi | 24 ++++ 3 files changed, 359 insertions(+) -- 1.8.3.1