Badari Pulavarty wrote: > Before we spend too much time cleaning up and merging into mainline - > I would like an agreement that what we add is good enough for glibc > POSIX AIO. I haven't seen a description of the interface so far. Would be good if it existed. But I briefly mentioned one quirk in the interface about which Suparna wasn't sure whether it's implemented/implementable in the current interface. If a lio_listio call is made the individual requests are handle just as if they'd be issue separately. I.e., the notification specified in the individual aiocb is performed when the specific request is done. Then, once all requests are done, another notification is made, this time controlled by the sigevent parameter if lio_listio. Another feature which I always wanted: the current lio_listio call returns in blocking mode only if all requests are done. In non-blocking mode it returns immediately and the program needs to poll the aiocbs. What is needed is something in the middle. For instance, if multiple read requests are issued the program might be able to start working as soon as one request is satisfied. I.e., a call similar to lio_listio would be nice which also takes another parameter specifying how many of the NENT aiocbs have to finish before the call returns. -- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
Attachment:
signature.asc
Description: OpenPGP digital signature
- Follow-Ups:
- Re: [3/4] kevent: AIO, aio_sendfile() implementation.
- From: Suparna Bhattacharya <[email protected]>
- Re: [3/4] kevent: AIO, aio_sendfile() implementation.
- From: Sébastien Dugué <[email protected]>
- Re: [3/4] kevent: AIO, aio_sendfile() implementation.
- From: Badari Pulavarty <[email protected]>
- Re: [3/4] kevent: AIO, aio_sendfile() implementation.
- References:
- [2/4] kevent: network AIO, socket notifications.
- From: Evgeniy Polyakov <[email protected]>
- [3/4] kevent: AIO, aio_sendfile() implementation.
- From: Evgeniy Polyakov <[email protected]>
- Re: [3/4] kevent: AIO, aio_sendfile() implementation.
- From: Christoph Hellwig <[email protected]>
- Re: [3/4] kevent: AIO, aio_sendfile() implementation.
- From: Evgeniy Polyakov <[email protected]>
- Re: [3/4] kevent: AIO, aio_sendfile() implementation.
- From: Christoph Hellwig <[email protected]>
- Re: [3/4] kevent: AIO, aio_sendfile() implementation.
- From: Ulrich Drepper <[email protected]>
- Re: [3/4] kevent: AIO, aio_sendfile() implementation.
- From: Badari Pulavarty <[email protected]>
- Re: [3/4] kevent: AIO, aio_sendfile() implementation.
- From: Sébastien Dugué <[email protected]>
- Re: [3/4] kevent: AIO, aio_sendfile() implementation.
- From: Badari Pulavarty <[email protected]>
- Re: [3/4] kevent: AIO, aio_sendfile() implementation.
- From: Zach Brown <[email protected]>
- Re: [3/4] kevent: AIO, aio_sendfile() implementation.
- From: Badari Pulavarty <[email protected]>
- [2/4] kevent: network AIO, socket notifications.
- Prev by Date: Re: the ' 'official' point of view' expressed by kernelnewbies.org regarding reiser4 inclusion
- Next by Date: Re: the ' 'official' point of view' expressed by kernelnewbies.org regarding reiser4 inclusion
- Previous by thread: Re: [3/4] kevent: AIO, aio_sendfile() implementation.
- Next by thread: Re: [3/4] kevent: AIO, aio_sendfile() implementation.
- Index(es):