On Mon, Jun 06, 2016 at 02:45:57PM +0200, Kevin Wolf wrote: > 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 > >
Reviewed-by: Stefan Hajnoczi <[email protected]>
signature.asc
Description: PGP signature
