From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Cc: Christoph Hellwig <hch@infradead.org>
Subject: Re: [Qemu-devel] [PATCH 3/5] push down vector linearization to posix-aio-compat.c
Date: Sun, 29 Mar 2009 16:01:26 -0500 [thread overview]
Message-ID: <49CFE1A6.90509@codemonkey.ws> (raw)
In-Reply-To: <20090329195452.GC1215@lst.de>
Christoph Hellwig wrote:
> Make all AIO requests vectored and defer linearization until the actual
> I/O thread. This prepares for using native preadv/pwritev.
>
> Also enables asynchronous direct I/O by handling that case in the I/O thread.
>
> Win32 support is untested and uncompiled. Then again I can't even find
> a know to turn on win32 aio support.
>
It compiles for win32 but it breaks at this patch. Win32 doesn't
actually support AIO. The code that's in #ifdefs has been dead for a
long time. I just committed a patch to remove it to avoid future
confusion. For the future, you can build/test win32 entirely in fedora
by using the mingw32 packages and wine.
This bug is not limited to win32 though. It has to do with having a
backend disk format that does not provide a proper aio implement (which
suggests your new brv_aio_{readv,writev}_em at fault). You can
reproduce on a normal Linux build by converting an existing image to a
format like vmdk and then testing with that. It's not 100% reliable but
9 times out of 10 I don't get past the grub loader with this patch applied.
Regards,
Anthony Liguori
> Qcow and qcow2 propably want to be adopted to directly deal with multi-segment
> requests, but that can be implemented later.
>
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
>
next prev parent reply other threads:[~2009-03-29 21:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-29 19:53 [Qemu-devel] [PATCH 0/5] add real vectored block I/O support Christoph Hellwig
2009-03-29 19:54 ` [Qemu-devel] [PATCH 1/5] more BlockDriver C99 initializers Christoph Hellwig
2009-03-29 19:54 ` [Qemu-devel] [PATCH 2/5] remove bdrv_aio_read/bdrv_aio_write Christoph Hellwig
2009-03-29 19:54 ` [Qemu-devel] [PATCH 3/5] push down vector linearization to posix-aio-compat.c Christoph Hellwig
2009-03-29 21:01 ` Anthony Liguori [this message]
2009-03-29 21:21 ` Christoph Hellwig
2009-03-29 21:44 ` Anthony Liguori
2009-03-30 6:57 ` Christoph Hellwig
2009-03-29 19:55 ` [Qemu-devel] [PATCH 4/5] native preadv/pwritev support Christoph Hellwig
2009-03-29 19:55 ` [Qemu-devel] [PATCH 5/5] experimental native preadv/pwritev support for Linux 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=49CFE1A6.90509@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=hch@infradead.org \
--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.