lkml.org 
[lkml]   [2005]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] stop inotify from sending random DELETE_SELF event under load


On Tue, 20 Sep 2005, John McCutchan wrote:
>
> Okay here are some cases to help you get a better idea,

The case that is _interesting_ is this one:

ln /tmp/foo /tmp/bar

p1: watch /tmp/foo

and then one or both of (different orders - four cases):

p2: rm /tmp/bar
p2: rm /tmp/foo

(along with "fd = open(/tmp/foo) + rm /tmp/foo + sleep + close(fd)" of
course, which Al already pointed out).

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

\
 
 \ /
  Last update: 2009-11-18 23:46    [W:0.112 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site