On Fri, 21 May 2004, Jim Carter wrote: > > > For a a cache hit we can: > > > > 1. Check if the map entry has exceeded a given time to live, say > > the map expire time. > > 2. If not continue as normal otherwise lookup the individual map > > entry and compare it to the cached entry. > > 3. If they are identical continue as normal otherwise it's a hint > > the map has changed so re-read it. > > Suggestion: set a flag saying "we know that this map is out of date", but > only re-read the whole thing when userspace expects to see up-to-date ghost > mounts. Understood, that to read any one row from a file map you have to > read the whole thing; the suggestion makes a difference only for NIS and > LDAP -- where it makes a big difference. >
What were you thinking of as defining "out of date" Jim? Ian _______________________________________________ autofs mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/autofs
