Re: [patch] stop inotify from sending random DELETE_SELF event under load

Al Viro
2005-09-20T04:58:39Z

On Tue, Sep 20, 2005 at 12:53:12AM -0400, John McCutchan wrote:
> DELETE_SELF WD=X
>
> The path you requested a watch on (inotify_add_watch(path,mask) returned
> X) has been deleted.

Then why the devil do we have IN_DELETE and IN_DELETE_SELF generated
in different places? The only difference is in who receives the
event - you send IN_DELETE to watchers on parent and IN_DELETE_SELF
on watchers on victim. Event itself is the same, judging by your
description...