qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC 1/2] pci-dma-api-v1


From: Jamie Lokier
Subject: Re: [Qemu-devel] [RFC 1/2] pci-dma-api-v1
Date: Fri, 28 Nov 2008 19:18:19 +0000
User-agent: Mutt/1.5.13 (2006-08-11)

Blue Swirl wrote:
> >  I wonder how can possibly aio_readv/writev be missing in posix aio?
> >  Unbelievable. It'd be totally trivial to add those to glibc, much
> >  easier infact than to pthread_create by hand, but how can we add a
> >  dependency on a certain glibc version? Ironically it'll be more
> >  user-friendly to add dependency on linux kernel-aio implementation
> >  that is already available for ages and it's guaranteed to run faster
> >  (or at least not slower).
> 
> There's also lio_listio that provides for vectored AIO.

I think lio_listio is the missing aio_readv/writev.

It's more versatile, and that'll by why POSIX never bothered with
aio_readv/writev.

Doesn't explain why they didn't _start_ with aio_readv before
inventing lio_listio, but there you go.  Unix history.

-- Jamie




reply via email to

[Prev in Thread] Current Thread [Next in Thread]