Skip to content

Patches to autofs 4.1.4 daemon to speed some things up and increase robustness

Bill Ryder autofs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Added the dumpmap option and updated manpageCHANGELOG daemon/automount.c include/automount.h +2 more+43 -20 replies
2/8Set LDAP_DEPRECATED to prevent coredumps with modern ldap librariesCHANGELOG configure.in samples/Makefile+7 -10 replies
3/8Added function names to some debug/crit messages, changed some crits to debugCHANGELOG modules/lookup_ldap.c+42 -320 replies
4/8reinstated the jmoyer ldap-cleanup patch and included man etc updatesCHANGELOG daemon/automount.c include/automount.h +2 more+206 -950 replies
5/8Added option to ignore some highly unlikely paths before forking daemonCHANGELOG daemon/automount.c include/automount.h +1 more+98 -30 replies
6/8Adds options to retry nfs mounts on certain nfs errorsCHANGELOG daemon/automount.c daemon/spawn.c +3 more+239 -300 replies
7/8Ian Kent's reentrant syslog patchCHANGELOG COPYRIGHT daemon/automount.c +5 more+1332 -190 replies
8/8Fix race which would stop a daemon under high mount rates with failuresCHANGELOG daemon/automount.c+15 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [bryder_autofs_4.1.4_PATCH 0/8] Patches to autofs 4.1.4 daemon to speed some things up and increase robustness

I'm releasing these patches for anyone still using the old autofs 4.1.4 daemon.

We still use autofs 4.1.4 where I work.

We have over 4,000 nfs clients using automounter (maps held in LDAP). We use simple indirect maps. In other words I've only tested LDAP with simple maps on nfs.

We have found many ways to make fileservers suffer from major performance problems.

Our preferred behaviour is for the automounter to keep trying to mount a location until the fileserver becomes less busy. Otherwise we have to deal with the fallout from EEXIST errors.

Along the way I've found other stuff which I've included (some of which only matters because the 4.1.4 daemon forks full processes rather than using threads).

I have included some other people's patches and have attributed them to the person I think did the patch in the first place. Apologies if I've got it wrong!

This published set is meant to clearly publish the work I've done - but include the bare minimum patches to autofs-4.1.4.tar.gz (from
http://www.kernel.org/pub/linux/daemons/autofs/v4/)
so that my stuff works and so it's clear what my patches do.

I've included CHANGELOG entries for each patch which hopefully explains what I've done for each patch.

However, I use a bunch more patches from the redhat rpms and some from kernel.org. A current picture of what I really use is available from
https://github.com/bryder/bryder_autofs414

So if you wanted to try this out - github is the place to get it from.

Bill Ryder (8):
Added the dumpmap option and updated manpage - I didn't write this Set LDAP_DEPRECATED to prevent coredumps with modern ldap libraries Added function names to some debug/crit messages, changed some crits
to debug
reinstated the jmoyer ldap-cleanup patch and included man etc updates Added option to ignore some highly unlikely paths before forking
daemon
Adds options to retry nfs mounts on certain nfs errors
Ian Kent's reentrant syslog patch
Fix race which would stop a daemon under high mount rates with
failures