From: Blue Swirl <blauwirbel@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 6/6] experimental native preadv/pwritev support for Linux
Date: Sun, 15 Mar 2009 17:03:34 +0200 [thread overview]
Message-ID: <f43fc5580903150803t63290524rd884d557f64ca6ce@mail.gmail.com> (raw)
In-Reply-To: <20090315144445.GB30986@lst.de>
[-- Attachment #1: Type: text/plain, Size: 1233 bytes --]
On 3/15/09, Christoph Hellwig <hch@lst.de> wrote:
> On Sun, Mar 15, 2009 at 04:36:16PM +0200, Blue Swirl wrote:
> > On 3/14/09, Christoph Hellwig <hch@lst.de> wrote:
> > >
> > >
> > > This ties up Gerd Hoffmann's unmegred preadv/pwritev syscalls to qemu. Use with
> > > care as the syscall numbers aren't finalized yet.
> > >
> > > If someone of the BSD folks is interested it should be trivial to tie this up
> > > for the preadv/pwritev syscalls that have been around there for a while.
> >
> > At least OpenBSD has preadv & pwritev.
>
>
> NetBSD also. But I don't have setup of either one, so I'll need some
> help on that front.
>
>
> > I'd add a check to configure to see if preadv exist and then define
> > HAVE_PREADV. Though it's not possible to see if the kernel supports
> > preadv if libc support does not exist (checking features by running
> > programs breaks cross compilation).
>
>
> The way glibc does it is only enable it if the underlying interface
> exists, and then have another shortcut if it exists in the headers
> but isn't supported by the underlying kernel. That's what I'll try
> to implement.
This patch adds a check for preadv, it does not find it on Linux but
does on OpenBSD.
[-- Attachment #2: check_preadv.diff --]
[-- Type: plain/text, Size: 1183 bytes --]
next prev parent reply other threads:[~2009-03-15 15:03 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-14 19:27 [Qemu-devel] [PATCH 0/6] add real vectored block I/O support Christoph Hellwig
2009-03-14 19:27 ` [Qemu-devel] [PATCH 1/6] more BlockDriver C99 initializers Christoph Hellwig
2009-03-28 18:35 ` Christoph Hellwig
2009-03-14 19:28 ` [Qemu-devel] [PATCH 2/6] change vectored block I/O API to plain iovecs Christoph Hellwig
2009-03-15 12:42 ` Avi Kivity
2009-03-15 13:20 ` Anthony Liguori
2009-03-15 13:36 ` Avi Kivity
2009-03-15 14:48 ` Christoph Hellwig
2009-03-15 15:07 ` Avi Kivity
2009-03-15 16:35 ` Christoph Hellwig
2009-03-14 19:28 ` [Qemu-devel] [PATCH 3/6] virtio-blk: use generic vectored I/O APIs Christoph Hellwig
2009-03-14 19:30 ` [Qemu-devel] [PATCH 4/6] remove bdrv_aio_read/bdrv_aio_write Christoph Hellwig
2009-03-14 19:30 ` [Qemu-devel] [PATCH 5/6] push down vector linearization to posix-aio-compat.c Christoph Hellwig
2009-03-14 19:31 ` [Qemu-devel] [PATCH 6/6] experimental native preadv/pwritev support for Linux Christoph Hellwig
2009-03-15 14:36 ` Blue Swirl
2009-03-15 14:44 ` Christoph Hellwig
2009-03-15 15:03 ` Blue Swirl [this message]
2009-03-15 15:16 ` Christoph Hellwig
2009-03-16 11:38 ` Gerd Hoffmann
2009-03-16 11:53 ` 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=f43fc5580903150803t63290524rd884d557f64ca6ce@mail.gmail.com \
--to=blauwirbel@gmail.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).