Re: [patch] inotify.

From: John McCutchan
Date: Fri Jun 17 2005 - 13:08:50 EST


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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/