Re: [GIT PULL] notification tree: directory events

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andreas Gruenbacher
Date: Friday, August 20, 2010 - 5:16 am

On Friday 20 August 2010 05:38:17 Eric Paris wrote:

I meant a process that gets killed or simply exits while there are outstanding 
perm events.  Nothing in the code would wake up the processes blocked on the 
perm event; they will simply be stuck forever.  (They cannot even be killed 
with SIGKILL.)

This is easy to reproduce with a listener that is killed while processing a 
perm event: just run the fanotify example [1] with the new -s option and hit 
^C while it is sleeping.

Bonus points would be awarded to make a process blocked on a listener killable 
with SIGKILL or other lethal signals.

[1] http://git.kernel.org/?p=linux/kernel/git/agruen/fanotify-example.git

The listener will also hang forever in that case; not sure why that is the 
case.

I already told you about this before (http://lkml.org/lkml/2010/8/16/349); not 
sure why everything needs to repeated multiple times until it sinks in.


I agree.


I disagree with putting timeouts back in.


Do you have a pointer to that?

Thanks,
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)