Hi Bill,
This indicates a design flaw in the dentry approach. Searching the
entire volume just because our in-memory data structures are not
appropriate sounds broken.
Some file systems (e.g. NTFS) can reconstruct the paths of a file when
given the inode number. So maybe we add this capability in the VFS
layer, and use it if present.
For the other file systems: Why do we need the entire dentry chain?
Can't we just make up a dentry with a synthetic path name, perhaps
dropping that one if a true name is discovered?
Regards,
Martin