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