Re: v2.6.31-rc6 inotify not reporting deleted files

From: Eric W. Biederman
Date: Wed Aug 26 2009 - 16:12:21 EST


Eric Paris <eparis@xxxxxxxxxx> writes:

> On Wed, 2009-08-26 at 02:06 -0700, Eric W. Biederman wrote:
>> I don't have a small test case yet, but I have an application that
>> uses inotify and watches a file and takes action when that file has been
>> deleted. Running that application on 2.6.31-rc6 the application is
>> no longer seeing the file being deleted.
>
> Are you dealing with hard linked files?

I shouldn't be. When I skimmed through everything last night it
looked like add a watch for create/delete/modify. Wait.

File created (see it) file deleted (miss it).

I will go verify I can cook up a reproducer, on my box where it
has been failing consistently.

Eric

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