From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262040AbVFQSFu (ORCPT ); Fri, 17 Jun 2005 14:05:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262041AbVFQSFu (ORCPT ); Fri, 17 Jun 2005 14:05:50 -0400 Received: from CPE000f6690d4e4-CM00003965a061.cpe.net.cable.rogers.com ([69.193.74.134]:25092 "EHLO tentacle.dhs.org") by vger.kernel.org with ESMTP id S262040AbVFQSFl (ORCPT ); Fri, 17 Jun 2005 14:05:41 -0400 Date: Fri, 17 Jun 2005 14:12:34 -0400 To: Christoph Hellwig , Arnd Bergmann , Robert Love , Zach Brown , linux-kernel@vger.kernel.org, Al Viro , Andrew Morton Subject: Re: [patch] inotify. Message-ID: <20050617181233.GA2220@tentacle.dhs.org> References: <1118855899.3949.21.camel@betsy> <42B1BC4B.3010804@zabbo.net> <1118946334.3949.63.camel@betsy> <200506171907.39940.arnd@arndb.de> <20050617175404.GA19463@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050617175404.GA19463@infradead.org> User-Agent: Mutt/1.5.9i From: John McCutchan Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 17, 2005 at 06:54:04PM +0100, Christoph Hellwig wrote: > On Fri, Jun 17, 2005 at 07:07:38PM +0200, Arnd Bergmann wrote: > > Sorry to bring up a topic that should have been settled a long time ago. > > > > I found that the interface consisting of > > - open a handle > > - add a file descriptor with an event mask to handle > > - remove a file/watch descriptor from handle > > - wait on handle, get events > > - close handle > > > > in inotify is _very_ similar to how epoll is represented to user > > space. Is there a good reason that epoll is a set of syscalls while > > inotify is a character device, or is one of them simply wrong? > > It's because Robert and John insist on their horrible interface and > simply ignore any feedback on how to do a better one. Your feedback was considered during the off list discussion, that you were a part of. In the end Robert, Andrew, and I agreed on the current interface.