On Tue, 2008-03-25 at 20:34 -0700, Jim Carter wrote: > On Mon, 24 Mar 2008, Ian Kent wrote: > > On Thu, 2008-03-20 at 08:51 -0700, Jim Carter wrote: > > > On Thu, 20 Mar 2008, Ian Kent wrote: > > > > On Wed, 2008-03-19 at 22:06 -0700, Jim Carter wrote: > > > > > Today I upgraded one of my three DNS servers, the first listed in > > > > > /etc/resolv.conf, and until I got it back on the air, autofs mounting > > > > > was glacial... > --snip-- > > > > Try this patch and let me know what happens. > > Not sure it will actually make much difference. > > I've made it against the autofs in opensuse, revision 30.2. > > Patch and build were clean. I installed it on a machine running > autofs-5.0.2-30.2 and it worked. To test, I prepended to /etc/resolv.conf > a nameserver (IP address) which was known to not exist, and then > automounted something. This took 10.093 secs elapsed, corresponding to one > timeout (default length 5 secs) when autofs resolves the hostname, and a > second timeout when mount resolves the name. This is the best that can be > done.
OK, I can't think of any possible side effects from this so I'll merge it. Thanks Ian _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
