Skip to content

autofs scaling and cleanup patches

Valerie Aurora Henson autofs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 61 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Make hash table scale to thousands of entriesinclude/automount.h lib/cache.c+19 -1255 replies
2/4Make MAX_ERR_BUF and PARSE_MAX_BUF use easier to auditmodules/lookup_ldap.c+22 -272 replies
3/4Easy alloca() replacementsdaemon/automount.c daemon/direct.c daemon/flag.c +10 more+55 -873 replies
4/4Replace <linux/string.h> with <string.h>include/linux/auto_dev-ioctl.h+1 -11 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] autofs scaling and cleanup patches

This is a small collection of patches generated from discussions with Google folks. The first makes the mount entry cache scale to thousands of entries. The second is prep for the next patch; it just cleans up use of fixed buffer sizes so that it's easier to tell what's going on. The third removes some instances of alloca() - I had the help of Coccinelle on this one. The fourth fixes an include to use the userland include instead of the kernel include.

Valerie Aurora Henson (4):
Make hash table scale to thousands of entries Make MAX_ERR_BUF and PARSE_MAX_BUF use easier to audit Easy alloca() replacements
Replace <linux/string.h> with <string.h>

 daemon/automount.c             |    6 ++--
 daemon/direct.c                |    8 ++----
 daemon/flag.c                  |   12 +++++-----
 daemon/indirect.c              |    8 ++----
 daemon/module.c                |   42 +++++++++------------------------
 include/automount.h            |    2 +-
 include/linux/auto_dev-ioctl.h |    2 +-
 lib/cache.c                    |   49 +++++++++++++++++++--------------------
 lib/cat_path.c                 |    1 -
 modules/lookup_ldap.c          |   49 ++++++++++++++++++----------------------
 modules/lookup_nisplus.c       |   22 ++++++++++++++----
 modules/mount_autofs.c         |    1 -
 modules/mount_bind.c           |    7 +----
 modules/mount_changer.c        |    5 +---
 modules/mount_ext2.c           |    5 +---
 modules/mount_generic.c        |    5 +---
 16 files changed, 97 insertions(+), 127 deletions(-)