From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?S=E9bastien_Dugu=E9?= Subject: Re: [3/4] kevent: AIO, aio_sendfile() implementation. Date: Fri, 28 Jul 2006 09:29:33 +0200 Message-ID: <1154071773.13577.5.camel@frecb000686> References: <1153905495613@2ka.mipt.ru> <11539054952574@2ka.mipt.ru> <20060726100431.GA7518@infradead.org> <20060726101919.GB2715@2ka.mipt.ru> <20060726103001.GA10139@infradead.org> <44C77C23.7000803@redhat.com> <44C796C3.9030404@us.ibm.com> <1153982954.3887.9.camel@frecb000686> <44C8DB80.6030007@us.ibm.com> <44C9029A.4090705@oracle.com> <1154024943.29920.3.camel@dyn9047017100.beaverton.ibm.com> <44C90987.1040200@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Badari Pulavarty , Zach Brown , Christoph Hellwig , Evgeniy Polyakov , lkml , David Miller , netdev , Suparna Bhattacharya Return-path: Received: from ecfrec.frec.bull.fr ([129.183.4.8]:4538 "EHLO ecfrec.frec.bull.fr") by vger.kernel.org with ESMTP id S1161081AbWG1H3n convert rfc822-to-8bit (ORCPT ); Fri, 28 Jul 2006 03:29:43 -0400 To: Ulrich Drepper In-Reply-To: <44C90987.1040200@redhat.com> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Thu, 2006-07-27 at 11:44 -0700, Ulrich Drepper wrote: > 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. >=20 > 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 t= he > current interface. >=20 > 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 t= he > individual aiocb is performed when the specific request is done. The= n, > once all requests are done, another notification is made, this time > controlled by the sigevent parameter if lio_listio. >=20 >=20 > Another feature which I always wanted: the current lio_listio call > returns in blocking mode only if all requests are done. In non-block= ing > 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 a= s > 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. You're right here, that definitely would be a plus. --=20 ----------------------------------------------------- S=E9bastien Dugu=E9 BULL/FREC:B1-247 phone: (+33) 476 29 77 70 Bullcom: 229-7770 mailto:sebastien.dugue@bull.net Linux POSIX AIO: http://www.bullopensource.org/posix http://sourceforge.net/projects/paiol -----------------------------------------------------