On 1/16/09, Jeff Moyer <jmo...@redhat.com> wrote: > My argument is that you're not really saving much. Just cache the whole > file. I agree that you probably want to detect changes, still. For > that, you can use mtime or inotify. You could make a case for either > side, though I think I'd argue for keeping the mtime approach (as the > map may change multiple times before we actually try to read it, and > doing the read in the lookup path really shouldn't be that big of a > deal). Of course, I haven't profiled this, so that may be worth doing.
If we can simply flag the cached version as stale, then lazy reloads should be possible. _______________________________________________ autofs mailing list autofs@linux.kernel.org http://linux.kernel.org/mailman/listinfo/autofs