[Top][All Lists]
[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
- [Qemu-devel] [RFC 1/2] pci-dma-api-v1, Andrea Arcangeli, 2008/11/27
- [Qemu-devel] [RFC 2/2] bdrv_aio_readv/writev_em, Andrea Arcangeli, 2008/11/27
- Re: [Qemu-devel] [RFC 1/2] pci-dma-api-v1, Blue Swirl, 2008/11/27
- Re: [Qemu-devel] [RFC 1/2] pci-dma-api-v1, Andrea Arcangeli, 2008/11/27
- Re: [Qemu-devel] [RFC 1/2] pci-dma-api-v1, Blue Swirl, 2008/11/28
- Re: [Qemu-devel] [RFC 1/2] pci-dma-api-v1, Andrea Arcangeli, 2008/11/28
- Re: [Qemu-devel] [RFC 1/2] pci-dma-api-v1, Blue Swirl, 2008/11/28
- Re: [Qemu-devel] [RFC 1/2] pci-dma-api-v1,
Jamie Lokier <=
- Re: [Qemu-devel] [RFC 1/2] pci-dma-api-v1, Avi Kivity, 2008/11/29
- Re: [Qemu-devel] [RFC 1/2] pci-dma-api-v1, Andrea Arcangeli, 2008/11/30
- Re: [Qemu-devel] [RFC 1/2] pci-dma-api-v1, Anthony Liguori, 2008/11/30
- Re: [Qemu-devel] [RFC 1/2] pci-dma-api-v1, Andrea Arcangeli, 2008/11/30
- [Qemu-devel] [RFC 1/1] pci-dma-api-v2, Andrea Arcangeli, 2008/11/30
- [Qemu-devel] Re: [RFC 1/1] pci-dma-api-v2, Blue Swirl, 2008/11/30
- [Qemu-devel] Re: [RFC 1/1] pci-dma-api-v2, Andrea Arcangeli, 2008/11/30
- [Qemu-devel] Re: [RFC 1/1] pci-dma-api-v2, Blue Swirl, 2008/11/30
- [Qemu-devel] Re: [RFC 1/1] pci-dma-api-v2, Andrea Arcangeli, 2008/11/30
- [Qemu-devel] Re: [RFC 1/1] pci-dma-api-v2, Blue Swirl, 2008/11/30