All of lore.kernel.org
 help / color / mirror / Atom feed
* [bryder_autofs_4.1.4_PATCH 0/8] *** SUBJECT HERE ***
@ 2011-01-25 16:27 Bill Ryder
  2010-12-14  0:44 ` [bryder_autofs_4.1.4_PATCH 1/8] Added the dumpmap option and updated manpage Bill Ryder
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Bill Ryder @ 2011-01-25 16:27 UTC (permalink / raw)
  To: autofs


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.

--- patch summary ---

Bill Ryder (8):
  Added the dumpmap option and updated manpage
  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

 CHANGELOG             |  118 ++++++++++
 COPYRIGHT             |   36 +++-
 configure.in          |    1 +
 daemon/automount.c    |  169 ++++++++++++--
 daemon/spawn.c        |   64 +++++-
 include/automount.h   |   43 ++++
 include/syslog.h      |  201 ++++++++++++++++
 lib/Makefile          |    5 +-
 lib/cache.c           |   10 +
 lib/syslog.c          |  383 ++++++++++++++++++++++++++++++
 lib/vsprintf.c        |  619 +++++++++++++++++++++++++++++++++++++++++++++++++
 man/automount.8       |   66 ++++++
 modules/lookup_ldap.c |  329 +++++++++++++++++----------
 modules/mount_nfs.c   |  100 ++++++--
 samples/Makefile      |    2 +-
 15 files changed, 1972 insertions(+), 174 deletions(-)
 create mode 100644 include/syslog.h
 create mode 100644 lib/syslog.c
 create mode 100644 lib/vsprintf.c

-- 
1.7.3.4

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [bryder_autofs_4.1.4_PATCH 0/8] Patches to autofs 4.1.4 daemon to speed some things up and increase robustness
@ 2011-01-13  3:09 Bill Ryder
  2010-12-20  1:10 ` [bryder_autofs_4.1.4_PATCH 3/8] Added function names to some debug/crit messages, changed some crits to debug Bill Ryder
  0 siblings, 1 reply; 12+ messages in thread
From: Bill Ryder @ 2011-01-13  3:09 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-01-27 14:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-25 16:27 [bryder_autofs_4.1.4_PATCH 0/8] *** SUBJECT HERE *** Bill Ryder
2010-12-14  0:44 ` [bryder_autofs_4.1.4_PATCH 1/8] Added the dumpmap option and updated manpage Bill Ryder
2010-12-14  2:36 ` [bryder_autofs_4.1.4_PATCH 2/8] Set LDAP_DEPRECATED to prevent coredumps with modern ldap libraries Bill Ryder
2010-12-20  1:10 ` [bryder_autofs_4.1.4_PATCH 3/8] Added function names to some debug/crit messages, changed some crits to debug Bill Ryder
2010-12-20 19:30 ` [bryder_autofs_4.1.4_PATCH 4/8] reinstated the jmoyer ldap-cleanup patch and included man etc updates Bill Ryder
2011-01-10  1:27 ` [bryder_autofs_4.1.4_PATCH 5/8] Added option to ignore some highly unlikely paths before forking daemon Bill Ryder
2011-01-12  2:44 ` [bryder_autofs_4.1.4_PATCH 6/8] Adds options to retry nfs mounts on certain nfs errors Bill Ryder
2011-01-12 22:15 ` [bryder_autofs_4.1.4_PATCH 7/8] Ian Kent's reentrant syslog patch Bill Ryder
2011-01-27 14:33   ` Ian Kent
2011-01-12 22:25 ` [bryder_autofs_4.1.4_PATCH 8/8] Fix race which would stop a daemon under high mount rates with failures Bill Ryder
2011-01-26  0:17 ` [bryder_autofs_4.1.4_PATCH 0/8] *** SUBJECT HERE *** Bill Ryder
  -- strict thread matches above, loose matches on Subject: below --
2011-01-13  3:09 [bryder_autofs_4.1.4_PATCH 0/8] Patches to autofs 4.1.4 daemon to speed some things up and increase robustness Bill Ryder
2010-12-20  1:10 ` [bryder_autofs_4.1.4_PATCH 3/8] Added function names to some debug/crit messages, changed some crits to debug Bill Ryder

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.