All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Kevin Wolf <kwolf@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] qemu-io: Rework alloc command
Date: Mon, 20 Jul 2009 22:54:31 +0200	[thread overview]
Message-ID: <20090720205431.GA10205@lst.de> (raw)
In-Reply-To: <1248101323-10261-1-git-send-email-kwolf@redhat.com>

On Mon, Jul 20, 2009 at 04:48:43PM +0200, Kevin Wolf wrote:
> The alloc command in qemu-io is mostly useless currently. Instead of doing a
> single call to bdrv_is_allocated, we must call bdrv_is_allocated in a loop
> until we have found out for each requested sector if it is allocated or not
> (bdrv_is_allocated returns a number of sectors that are known to be in the same
> state as the first one, but it is not required to include all of them)
> 
> This changes the output format of the alloc command so that a change to the
> expected output of qemu-iotests 019 is necessary once this is included.

Looks good to me.  Can you post the corresponding qemu-iotests patch,
too?

  reply	other threads:[~2009-07-20 20:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-20 14:48 [Qemu-devel] [PATCH] qemu-io: Rework alloc command Kevin Wolf
2009-07-20 20:54 ` Christoph Hellwig [this message]
2009-07-21  7:22   ` Kevin Wolf
2009-07-27 11:16     ` Christoph Hellwig

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=20090720205431.GA10205@lst.de \
    --to=hch@lst.de \
    --cc=kwolf@redhat.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.