qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Zhi Yong Wu <zwu.kernel@gmail.com>
Cc: kwolf@redhat.com, wuzhy@linux.vnet.ibm.com,
	qemu-devel@nongnu.org, stefanha@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [PATCH v3 2/2] block: disable I/O throttling on sync api
Date: Mon, 2 Apr 2012 08:42:36 +0100	[thread overview]
Message-ID: <20120402074236.GC19273@stefanha-thinkpad.localdomain> (raw)
In-Reply-To: <CAEH94LjFH7nDat_8wHqf005tF8cz3Rprpaj=SEOSh-3i_gV7Rw@mail.gmail.com>

On Sat, Mar 31, 2012 at 08:09:46PM +0800, Zhi Yong Wu wrote:
> On Fri, Mar 30, 2012 at 6:29 PM, Stefan Hajnoczi <stefanha@gmail.com> wrote:
> > On Fri, Mar 30, 2012 at 9:50 AM,  <zwu.kernel@gmail.com> wrote:
> >> +     * When all sync I/O drivers are converted to async I/O, it will be restored
> >> +     * to the original state.
> >
> > The problem here is that guess_disk_lchs() uses bdrv_read(), not
> > whether device emulation uses sync or async I/O.  Converting devices
> > to async I/O will not fix this.
> By the way, when you did testing, you applied #1 of this patchset? I
> think that it make sense for that assert issue to be fixed.

Yes, I applied both patches 1 and 2.

Stefan

      reply	other threads:[~2012-04-02  8:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-30  8:50 [Qemu-devel] [PATCH v3 2/2] block: disable I/O throttling on sync api zwu.kernel
2012-03-30 10:29 ` Stefan Hajnoczi
2012-03-31 12:07   ` Zhi Yong Wu
2012-04-02  7:31     ` Stefan Hajnoczi
2012-03-31 12:09   ` Zhi Yong Wu
2012-04-02  7:42     ` Stefan Hajnoczi [this message]

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=20120402074236.GC19273@stefanha-thinkpad.localdomain \
    --to=stefanha@gmail.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@linux.vnet.ibm.com \
    --cc=wuzhy@linux.vnet.ibm.com \
    --cc=zwu.kernel@gmail.com \
    /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).