lkml.org 
[lkml]   [2009]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: inotify regression, missing events
From
Date
On Sat, 2009-07-11 at 07:50 -0400, Eric Paris wrote:

> On Sat, 2009-07-11 at 17:02 +0100, Scott James Remnant wrote:
> > Looks like there's a regression with inotify since the rewrite to use
> > fanotify. Events are simply missing and not being delivered to
> > userspace.
> >
> > Here's a simple test case, just compile and run it:
>
> I bet I know exactly what it is (notification.c tail merge code isn't
> comparing filename only inode+mask) but I'm walking out of the house.
> I'll try my theory later tonight and post a patch.
>
> Stupid Eric, Stupid.
>
In other words, when the second deleted-file-in-a-directory event comes
through, it gets ignored because there's already a
"deleted-file-in-a-directory" event for that directory?

Scott
--
Scott James Remnant
scott@ubuntu.com
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2009-07-13 14:23    [from the cache]
©2003-2011 Jasper Spaans