[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-1221-g9e736aa

Volker Lendecke vl at samba.org
Wed Jan 9 10:22:37 GMT 2008


The branch, v3-2-test has been updated
       via  9e736aab07b91744d4c14a55f6f7c55f51dd80f6 (commit)
      from  48f61e4b9fce5ea4f4bc3cf55530bb757c0def07 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 9e736aab07b91744d4c14a55f6f7c55f51dd80f6
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Jan 8 10:17:05 2008 +0100

    Reduce stat cache size default
    
    Now that we have a LRU scheme for the stat cache we can live with a lot less

-----------------------------------------------------------------------

Summary of changes:
 source/param/loadparm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/param/loadparm.c b/source/param/loadparm.c
index 9700cd1..eaf19b7 100644
--- a/source/param/loadparm.c
+++ b/source/param/loadparm.c
@@ -1588,7 +1588,7 @@ static void init_globals(bool first_time_only)
 	Globals.bNTPipeSupport = True;	/* Do NT pipes by default. */
 	Globals.bNTStatusSupport = True; /* Use NT status by default. */
 	Globals.bStatCache = True;	/* use stat cache by default */
-	Globals.iMaxStatCacheSize = 1024; /* one Meg by default. */
+	Globals.iMaxStatCacheSize = 256; /* 256k by default */
 	Globals.restrict_anonymous = 0;
 	Globals.bClientLanManAuth = False;	/* Do NOT use the LanMan hash if it is available */
 	Globals.bClientPlaintextAuth = False;	/* Do NOT use a plaintext password even if is requested by the server */


-- 
Samba Shared Repository


More information about the samba-cvs mailing list