Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 31 Oct 2002 23:21:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 31 Oct 2002 23:21:24 -0500 Received: from netrealtor.ca ([216.209.85.42]:61703 "EHLO mark.mielke.cc") by vger.kernel.org with ESMTP id ; Thu, 31 Oct 2002 23:21:23 -0500 Date: Thu, 31 Oct 2002 23:29:42 -0500 From: Mark Mielke To: Jamie Lokier Cc: Davide Libenzi , Linux Kernel Mailing List , linux-aio@kvack.org, lse-tech@lists.sourceforge.net, Linus Torvalds , Andrew Morton , Alan Cox Subject: Re: Unifying epoll,aio,futexes etc. (What I really want from epoll) Message-ID: <20021101042942.GB12999@mark.mielke.cc> References: <20021031154112.GB27801@bjl1.asuk.net> <20021031230215.GA29671@bjl1.asuk.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021031230215.GA29671@bjl1.asuk.net> User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1431 Lines: 31 On Thu, Oct 31, 2002 at 11:02:15PM +0000, Jamie Lokier wrote: > The semantics for this are a bit confusing and inconsistent with > poll(). User gets POLL_RDNORM event which means something in the > directory has changed, not that the directory is now readable or that > poll() would return POLL_RDNORM. It really should be a different > flag, made for the purpose. Don't be encouraging any of us to expect the ability to poll() for changes to regular files (log file parsers that sit on EOF periodically polling for further data...). Just get *something* decent out so that we can play with it in a production environment. I would put off extensions such as this until the API is well established. mark -- mark@mielke.cc/markm@ncf.ca/markm@nortelnetworks.com __________________________ . . _ ._ . . .__ . . ._. .__ . . . .__ | Neighbourhood Coder |\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ | | | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, Ontario, Canada One ring to rule them all, one ring to find them, one ring to bring them all and in the darkness bind them... http://mark.mielke.cc/ - 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/