Re: [GIT PULL] notification tree - try 37!

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andreas Gruenbacher
Date: Thursday, August 19, 2010 - 1:24 pm

On Tuesday 17 August 2010 17:08:26 Eric Paris wrote:

Here is one more bug: when watching a directory with inotify, doing an ls 
gives me:

	Watching d
	d was opened
	d not opened for writing was closed

Watching the same directory with fanotify results in:

	.../d: pid=... open_perm
	.../d: pid=... open
	.../d: pid=... access_perm
	.../d: pid=... access_perm
	.../d: pid=... close

Five events seem a bit excessive; I can't explain why so many are generated.  
The real issue is when watching the same directory both with inotify and 
fanotify, though: the fanotify result stays the same, but 

	Watching d
	d has not changed
	d was opened
	d has not changed
	d has not changed
	d not opened for writing was closed

In other words, watching a directory with fanotify causes extra inotify events 
with mask == 0.

Andreas
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT PULL] notification tree - try 37!, Eric Paris, (Fri Aug 6, 8:58 am)
Re: [GIT PULL] notification tree - try 37!, Matt Helsley, (Fri Aug 6, 4:34 pm)
Re: [GIT PULL] notification tree - try 37!, Christoph Hellwig, (Fri Aug 6, 5:06 pm)
Re: [GIT PULL] notification tree - try 37!, Eric Paris, (Sat Aug 7, 12:15 pm)
Re: [GIT PULL] notification tree - try 37!, Matt Helsley, (Sat Aug 7, 1:55 pm)
Re: [GIT PULL] notification tree - try 37!, Andreas Gruenbacher, (Mon Aug 16, 1:32 pm)
Re: [GIT PULL] notification tree - try 37!, Eric Paris, (Mon Aug 16, 8:39 pm)
Re: [GIT PULL] notification tree - try 37!, Matt Helsley, (Mon Aug 16, 9:03 pm)
Re: [GIT PULL] notification tree - try 37!, Andreas Gruenbacher, (Tue Aug 17, 1:09 am)
Re: [GIT PULL] notification tree - try 37!, Andreas Gruenbacher, (Tue Aug 17, 1:38 am)
Re: [GIT PULL] notification tree - try 37!, Tvrtko Ursulin, (Tue Aug 17, 2:45 am)
Re: [GIT PULL] notification tree - try 37!, Andreas Gruenbacher, (Tue Aug 17, 3:01 am)
Re: [GIT PULL] notification tree - try 37!, Tvrtko Ursulin, (Tue Aug 17, 3:12 am)
Re: [GIT PULL] notification tree - try 37!, Tvrtko Ursulin, (Tue Aug 17, 3:55 am)
Re: [GIT PULL] notification tree - try 37!, Eric Paris, (Tue Aug 17, 8:08 am)
Re: [GIT PULL] notification tree - try 37!, Eric Paris, (Tue Aug 17, 8:24 am)
Re: [GIT PULL] notification tree - try 37!, Eric Paris, (Tue Aug 17, 8:27 am)
Re: [GIT PULL] notification tree - try 37!, Andreas Gruenbacher, (Tue Aug 17, 8:48 am)
Re: [GIT PULL] notification tree - try 37!, Andreas Gruenbacher, (Wed Aug 18, 7:18 am)
Re: [GIT PULL] notification tree: directory events, Andreas Gruenbacher, (Wed Aug 18, 8:47 am)
Re: [GIT PULL] notification tree: directory events, Eric Paris, (Wed Aug 18, 8:59 am)
Re: [GIT PULL] notification tree: directory events, Christoph Hellwig, (Wed Aug 18, 9:42 am)
Re: [GIT PULL] notification tree: directory events, Eric Paris, (Wed Aug 18, 10:07 am)
Re: [GIT PULL] notification tree: directory events, Andreas Gruenbacher, (Thu Aug 19, 5:44 am)
Re: [GIT PULL] notification tree: directory events, Eric Paris, (Thu Aug 19, 8:00 am)
Re: [GIT PULL] notification tree - try 37!, Andreas Gruenbacher, (Thu Aug 19, 1:24 pm)
Re: [GIT PULL] notification tree - try 37!, Andreas Gruenbacher, (Thu Aug 19, 1:32 pm)
Re: [GIT PULL] notification tree - try 37!, Eric Paris, (Thu Aug 19, 1:42 pm)
Re: [GIT PULL] notification tree - try 37!, Andreas Gruenbacher, (Thu Aug 19, 2:07 pm)
Re: [GIT PULL] notification tree - try 37!, Andreas Gruenbacher, (Thu Aug 19, 2:22 pm)
Re: [GIT PULL] notification tree: directory events, Andreas Gruenbacher, (Thu Aug 19, 4:41 pm)
Re: [GIT PULL] notification tree - try 37!, Andreas Gruenbacher, (Thu Aug 19, 5:00 pm)
Re: [GIT PULL] notification tree: directory events, Eric Paris, (Thu Aug 19, 8:38 pm)
Re: [GIT PULL] notification tree - try 37!, Eric Paris, (Thu Aug 19, 8:50 pm)
Re: [GIT PULL] notification tree: directory events, Andreas Dilger, (Thu Aug 19, 10:19 pm)
Re: [GIT PULL] notification tree: directory events, Tvrtko Ursulin, (Fri Aug 20, 2:09 am)
Re: [GIT PULL] notification tree: directory events, Christoph Hellwig, (Fri Aug 20, 2:21 am)
Re: [GIT PULL] notification tree: directory events, Andreas Gruenbacher, (Fri Aug 20, 4:07 am)
Re: [GIT PULL] notification tree: directory events, Andreas Gruenbacher, (Fri Aug 20, 5:16 am)
Re: [GIT PULL] notification tree - try 37!, Andreas Gruenbacher, (Fri Aug 20, 5:38 am)
Re: [GIT PULL] notification tree: directory events, Andreas Gruenbacher, (Fri Aug 20, 8:29 am)
Re: [GIT PULL] notification tree: directory events, Andreas Dilger, (Fri Aug 20, 1:39 pm)
Re: [GIT PULL] notification tree - try 37!, Eric Paris, (Mon Aug 23, 9:46 am)
Re: [GIT PULL] notification tree - try 37!, Andreas Gruenbacher, (Mon Aug 23, 3:38 pm)