Re: dentries and NFS filehandles

Bill Hawes (whawes@star.net)
Wed, 27 Aug 1997 12:35:50 -0400


Alan Cox wrote:

> Dentries are not preserved across a reboot - it changes the semantics
> quite significantly. Certainly keeping a hashed inode->dentry cache is
> sensible for nfsd, but in the event the dentry isnt to be found the inode
> is a much more reliable target

My proposal would allow you to restore the server's filehandles after a
reboot. Since the server would be using abstract ids as filehandles, as
long as you save a snapshot of the dentry paths and associated ids you
could initialize the dentry table after a reboot.

Regards,
Bill