[RFC,PATCH 0/4] Dynamic Pseudo Root

Steve Dickson SteveD at redhat.com
Sat Dec 8 10:05:18 EST 2007


J. Bruce Fields wrote:
> I assume that a path_lookup() that encounters a new filesystem is a
> heavier-weight operation than we'd want to do at that point, because,
> for example, it may require spinning up a bunch of disks that we
> wouldn't have to.  Is that correct?  If so, we could probably delay it
> until it's needed somehow.
True, doing a lookup for every export (esp on a SAN or cluster) could
be very expensive and time consuming, but its a one time cost. 
Assuming the lookup cache is large enough.

But delaying the lookup until needed would be the best approach, imho.
The up/down call mechanism is fairly fleeted footed, so the overhead 
on lookups/readdirs may not be too bad.

> 
> If we're passing down the uuid in the export call then that's somewhat
> expensive for every export.  I'm not sure what to do about that.
ditto... Maybe a good evaluation of what is and is not needed 
in rpc.mountd is needed... 


steved.


More information about the NFSv4 mailing list