emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Added inotify support.


From: Achim Gratz
Subject: Re: [PATCH] Added inotify support.
Date: Sun, 07 Oct 2012 16:54:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Stefan Monnier writes:
>>>> But that's a bug in nfsd, still.
>>> Well, yes, I think so, and you think so, but the Linux kernel hackers do
>>> not think so :(
>> This behaviour doesn't have anything to do with nfsd (other than the
>> stateless nature of NFS and the way it implements that) and you can
>> trigger it quite easily without nfsd involved.
>
> Which behavior?

The nfsd is made stateless by using hidden hardlinks to the files it
uses and then uses their inode numbers to manipulate these files (all
IIRC).  Inotify watches files based on their names and maps that to
inodes using a cache, which can be out of sync or even drop the
association between inode and filename.  Any further operation on that
file will then not be seen by inotify unless you re-create the watch.
It works somewhat more reliably if you monitor individual files rather
than directories, but that isn't foolproof either.


Regards
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves




reply via email to

[Prev in Thread] Current Thread [Next in Thread]