Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 23 Oct 2002 18:16:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 23 Oct 2002 18:16:25 -0400 Received: from x35.xmailserver.org ([208.129.208.51]:45473 "EHLO x35.xmailserver.org") by vger.kernel.org with ESMTP id ; Wed, 23 Oct 2002 18:15:20 -0400 X-AuthUser: davidel@xmailserver.org Date: Wed, 23 Oct 2002 15:30:28 -0700 (PDT) From: Davide Libenzi X-X-Sender: davide@blue1.dev.mcafeelabs.com To: Dan Kegel cc: linux-aio , linux-kernel Subject: Re: async poll In-Reply-To: <3DB721B1.7090907@kegel.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 836 Lines: 30 On Wed, 23 Oct 2002, Dan Kegel wrote: > John Gardiner Myers wrote: > > > > Dan Kegel wrote: > > > >> In that situation, why not just add the fd to an epoll, and have the > >> epoll deliver events through Ben's interface? > > > > > > Because you might need to use the aio_data facility of the iocb > > interface. > > Presumably epoll_add could be enhanced to let user specify a user data > word. It'll take 2 minutes to do such a thing. Actually the pollfd struct contains the "events" field that is wasted when returning events and it could be used for something more useful. - Davide - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/