NFS thoughts.

Rogier Wolff (R.E.Wolff@BitWizard.nl)
Sun, 16 Nov 1997 01:27:47 +0100 (MET)


Hi,

I'm vaguely following the NFS file handle redesign discussions, and I
certainly don't know what I'm talking about, so feel free to ignore
me if I'm talking nonsense. ;-)

If I'm correctly informed, you try to validate the dentry pointer in
the file handle, and if that succeeds, you get to use the object
through the dentry immediately. However if the dentry became invalid
some way, then the inode gets used.

Now if I assume that I can somehow (through some complex operations or
through rebooting the server) trigger the dentry to become invalid. Can
the client then notice wether that's the case? e.g. by possibly getting
the operation done on a different object?

e.g. client does

(sleep 2;echo hi) > bla

while the server does

mv bla blob; touch bla
or mv bla blob;rm blob;touch bla;touch bla

in the two "sleep" seconds.

Actually I wouldn't even know what the "normal" NFS behaviour would
be.

Roger.

-- 
** R.E.Wolff@BitWizard.nl ** +31-15-2137555 ** http://www.BitWizard.nl/ **
Florida -- A 39 year old construction worker woke up this morning when a
109-car freight train drove over him. According to the police the man was 
drunk. The man himself claims he slipped while walking the dog. 080897