Blame SOURCES/autofs-5.0.6-increase-file-map-read-buffer-size.patch

304803
autofs-5.0.6 - increase file map read buffer size
304803
304803
From: Ian Kent <raven@themaw.net>
304803
304803
The file map entry read buffer can be too small for larger
304803
multi-mount map entries so increase it.
304803
---
304803
304803
 CHANGELOG           |    1 +
304803
 include/automount.h |    2 +-
304803
 2 files changed, 2 insertions(+), 1 deletions(-)
304803
304803
304803
diff --git a/CHANGELOG b/CHANGELOG
304803
index 9cdad6e..3bdf8a4 100644
304803
--- a/CHANGELOG
304803
+++ b/CHANGELOG
304803
@@ -13,6 +13,7 @@
304803
 - README: update mailing list subscription info.
304803
 - allow non root user to check status.
304803
 - fix recursive mount deadlock.
304803
+- increase file map read buffer size.
304803
 
304803
 25/07/2012 autofs-5.0.7
304803
 =======================
304803
diff --git a/include/automount.h b/include/automount.h
304803
index 561fcc2..37541f5 100644
304803
--- a/include/automount.h
304803
+++ b/include/automount.h
304803
@@ -233,7 +233,7 @@ int rmdir_path(struct autofs_point *ap, const char *path, dev_t dev);
304803
 #define AUTOFS_LOOKUP_VERSION 5
304803
 
304803
 #define KEY_MAX_LEN    NAME_MAX
304803
-#define MAPENT_MAX_LEN 4095
304803
+#define MAPENT_MAX_LEN 16384
304803
 #define PARSE_MAX_BUF	KEY_MAX_LEN + MAPENT_MAX_LEN + 2
304803
 
304803
 int lookup_nss_read_master(struct master *master, time_t age);