qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Frediano Ziglio <freddy77@gmail.com>
Cc: Kevin Wolf <kwolf@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 2/2] aio: use Linux AIO even if nocache is	not specified
Date: Wed, 27 Jul 2011 20:32:26 +0200	[thread overview]
Message-ID: <20110727183226.GB14736@lst.de> (raw)
In-Reply-To: <1311791126-11383-3-git-send-email-freddy77@gmail.com>

On Wed, Jul 27, 2011 at 08:25:26PM +0200, Frediano Ziglio wrote:
> Currently Linux AIO are used only if nocache is specified.
> Linux AIO works in all cases. The only problem is that currently Linux AIO
> does not align data so I add a test that use POSIX AIO in this case.

The kernel will accept buffered I/O requests, and even handle them 100%
correctly.  The only thing it won't do is to handle them asynchronously,
so with your patch you're back to executing I/O synchronously in guest
context.

      reply	other threads:[~2011-07-27 18:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-27 18:25 [Qemu-devel] [PATCH 0/2] improve Linux AIO support Frediano Ziglio
2011-07-27 18:25 ` [Qemu-devel] [PATCH 1/2] linux aio: support flush operation Frediano Ziglio
2011-07-27 18:31   ` Christoph Hellwig
2011-07-27 19:52     ` Frediano Ziglio
2011-07-27 19:57       ` Christoph Hellwig
2011-07-28  7:47         ` Kevin Wolf
2011-07-28 12:15           ` Christoph Hellwig
2011-07-28 12:41             ` Kevin Wolf
2011-07-29 14:24               ` Christoph Hellwig
2011-07-29 15:33             ` Stefan Hajnoczi
2011-07-27 18:25 ` [Qemu-devel] [PATCH 2/2] aio: use Linux AIO even if nocache is not specified Frediano Ziglio
2011-07-27 18:32   ` Christoph Hellwig [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=20110727183226.GB14736@lst.de \
    --to=hch@lst.de \
    --cc=freddy77@gmail.com \
    --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 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).