Blame SOURCES/glibc-fedora-nis-rh188246.patch

077c9d
Short description: Fedora-specific enabling batch read in NSS.
077c9d
Author(s): Fedora glibc team <glibc@lists.fedoraproject.org>
077c9d
Origin: PATCH
077c9d
Bug-RHEL: #188246
077c9d
Upstream status: not-submitted
077c9d
077c9d
Enable batch read in NSS. It's not clear if this is always a win or
077c9d
just a win for NIS+, this needs to be analyzed and sent upstream or
077c9d
removed.
077c9d
077c9d
From baba5d9461d4e8a581ac26fe4412ad783ffc73e7 Mon Sep 17 00:00:00 2001
077c9d
From: Jakub Jelinek <jakub@redhat.com>
077c9d
Date: Mon, 1 May 2006 08:02:53 +0000
077c9d
Subject: [PATCH] Enable SETENT_BATCH_READ nis/nss option by default
077c9d
077c9d
* Mon May  1 2006 Jakub Jelinek <jakub@redhat.com> 2.4.90-4
077c9d
- SETENT_BATCH_READ /etc/default/nss option for speeding up
077c9d
  some usages of NIS+ (#188246)
077c9d
077c9d
diff --git a/nis/nss b/nis/nss
077c9d
--- a/nis/nss
077c9d
+++ b/nis/nss
077c9d
@@ -25,7 +25,7 @@
077c9d
 #  memory with every getXXent() call.  Otherwise each getXXent() call
077c9d
 #  might result into a network communication with the server to get
077c9d
 #  the next entry.
077c9d
-#SETENT_BATCH_READ=TRUE
077c9d
+SETENT_BATCH_READ=TRUE
077c9d
 #
077c9d
 # ADJUNCT_AS_SHADOW
077c9d
 #  If set to TRUE, the passwd routines in the NIS NSS module will not