qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: Christoph Hellwig <hch@lst.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] the qemu-iotests test suite is now available
Date: Tue, 23 Jun 2009 16:36:29 +0200	[thread overview]
Message-ID: <4A40E86D.9060907@redhat.com> (raw)
In-Reply-To: <20090623143105.GA17748@lst.de>

Christoph Hellwig schrieb:
> On Tue, Jun 23, 2009 at 11:16:21AM +0200, Kevin Wolf wrote:
>> About the qcow2 tests there is one thing to note: These test cases use
>> hard coded offsets which were calculated for 4k clusters. For 64k
>> clusters (which the default now) I'm almost sure they don't test the
>> critical points any more. So we'll need to change offsets dynamically
>> depending on the cluster size of the qcow2 image.
> 
> Or just run the test for all interesting cluster sizes to some more
> coverage (should be only 4k and 64k for now).

We could either always test both 4k and 64k or let the user choose on
the command line. Either way, this is unrelated to what I meant. I'm
talking about things like this:

    # Spanning multiple clusters
    io $op $((offset + 2048)) 8192 12288 64

This is a request spanning multiple 4k clusters, but for 64k clusters it
is just another write somewhere in the middle of the cluster. So with
64k we actually have worse coverage currently than with 4k clusters (and
we don't test 4k yet).

Kevin

  reply	other threads:[~2009-06-23 14:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-22 21:05 [Qemu-devel] the qemu-iotests test suite is now available Christoph Hellwig
2009-06-23  9:16 ` Kevin Wolf
2009-06-23 14:31   ` Christoph Hellwig
2009-06-23 14:36     ` Kevin Wolf [this message]
2009-06-23 16:41       ` Christoph Hellwig
2009-06-24  7:35         ` Kevin Wolf
2009-07-06 11:18         ` Kevin Wolf
2009-07-06 17:36           ` Christoph Hellwig
2009-07-07  7:30             ` Kevin Wolf
2009-09-11 14:04             ` Kevin Wolf
2009-09-11 18:40               ` Christoph Hellwig
2009-09-14  8:03                 ` Kevin Wolf
2009-06-23 16:03 ` Anthony Liguori
2009-06-23 16:36   ` Christoph Hellwig
2009-06-24  9:12     ` Kevin Wolf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A40E86D.9060907@redhat.com \
    --to=kwolf@redhat.com \
    --cc=hch@lst.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).