Re: If not readdir() then what?

From: Valdis . Kletnieks
Date: Tue Apr 10 2007 - 12:26:30 EST


On Tue, 10 Apr 2007 17:54:54 +0200, Jan Engelhardt said:

> NFS server sends the whole directory contents on NFS client opendir,
> so that the whole readdir/telldir/seekdir magic can happen on the
> client only... which would perhaps also enable a cheap telldir/seekdir,
> and would also give a 'fixed view' when adding/deleting files
> during readdir.

What should happen if the directory contents go stale? If *two* systems
cache the directory and then proceed to add/delete files, what happens?

Attachment: pgp00000.pgp
Description: PGP signature