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

Linus Torvalds
2005-09-20T04:30:11Z

On Tue, 20 Sep 2005, Al Viro wrote:
>
> Uhh... I still don't understand which behaviour do you want.
>
> * removal of this link, postponed to indefinite future (until we
> do not have any users of that dentry) [ new behaviour ]
> * moment when the last link is gone _and_ nobody uses any dentries
> pointing to object, with information taken from the last one still in use
> [ old behaviour ]

Old behaviour (well, "old" is relative) is apparently the expected one.

But the old behaviour had a bug: we _also_ call dentry_iput() for
non-deletes.

Linus