From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8oFL-0002lF-E6 for qemu-devel@nongnu.org; Fri, 03 Jun 2016 08:30:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8oFJ-0007mH-Vv for qemu-devel@nongnu.org; Fri, 03 Jun 2016 08:30:39 -0400 From: Kevin Wolf Date: Fri, 3 Jun 2016 14:30:16 +0200 Message-Id: <1464957021-3469-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 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. 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 | 289 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ qemu-img.texi | 19 ++++ 3 files changed, 314 insertions(+) -- 1.8.3.1