Re: [gamin] [PATCH] inotify 0.6 + new gamin patches



On Tue, 2004-07-27 at 06:27, Daniel Veillard wrote:
> On Tue, Jul 20, 2004 at 11:07:34PM -0400, John McCutchan wrote:
> > With this release I am able to run gnome 2.6 without any (major)
> > problems. [The previous set of patches caused major kernel problems when
> > running gnome 2.6.. I have now fixed that bug.]
> > 
> > The only bug I know of right now is gnome-settings-daemon gives an error
> > on login. It says it restarted too many times and will start next time I
> > login, but gnome-settings-daemon is running and my desktop appears to be
> > fully functional.
> > 
> > This really needs to be tested by more people. 
> > 
> > Attached is a tarball with inotify 0.6 and gamin patches.
> 
>   Okay, I applied the patches, I just had to add a #ifdef USE_INOTIFY/#endif
> to server/gam_inotify.c to avoid compilation errors on system without inotify.
> It would be good to find a way to detect the availability of inotify.h from
> the kernel sources to then activate it.
>   Anyway this is in gamin CVS head, let's hope it get tested by more people,
> but getting the kernel side ready is IMHO far more difficult for people to
> test it.
> 


I am have been hitting the kernel side pretty hard, it has been solid
for a few days now. I am working on a revamped inotify backend that
doesn't use the poll backend at all. To achieve this I have changed the
kernel side of inotify to also give us the filename when an event
happens on a directory. For example 

watch /tmp
touch /tmp/bfg

the kernel will send a creation event to the watcher of /tmp and include
bfg in the event.

Hopefully I will have something to show tommorow.

John




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]