[SCM] Samba Shared Repository - branch v3-5-test updated

Karolin Seeger kseeger at samba.org
Tue Mar 1 13:34:34 MST 2011


The branch, v3-5-test has been updated
       via  5d525ea s3-param: Make "rlimit_max below minimum Windows limit" notification less scary
      from  fd6af89 s3:vfs:gpfs: fix logic when gpfs:winattr is false (the default!)

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


- Log -----------------------------------------------------------------
commit 5d525ea0ed937e4146dee0859d0218ef730bfa27
Author: Jonathan Nieder <jrnieder at gmail.com>
Date:   Sun Jan 2 02:40:09 2011 -0600

    s3-param: Make "rlimit_max below minimum Windows limit" notification less scary
    
    The fix to bug #6837 results in messages from testparm that look
    like a misconfiguration even though they aren't:
    
     rlimit_max: rlimit_max (8192) below minimum Windows limit (16384)
    
    Apply a slight change in wording ("increasing rlimit_max to minimum
    Windows limit") to make it clearer that the user has done nothing
    wrong.  (Similarly for sysctl_max.)
    
    Reported-by: Miguel Medalha <miguelmedalha at sapo.pt>
    Signed-off-by: Jonathan Nieder <jrnieder at gmail.com>

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

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


Changeset truncated at 500 lines:

diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 57ea2cd..76e2303 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -4774,7 +4774,7 @@ static int max_open_files(void)
 #endif
 
 	if (sysctl_max < MIN_OPEN_FILES_WINDOWS) {
-		DEBUG(2,("max_open_files: sysctl_max (%d) below "
+		DEBUG(2,("max_open_files: increasing sysctl_max (%d) to "
 			"minimum Windows limit (%d)\n",
 			sysctl_max,
 			MIN_OPEN_FILES_WINDOWS));
@@ -4782,7 +4782,7 @@ static int max_open_files(void)
 	}
 
 	if (rlimit_max < MIN_OPEN_FILES_WINDOWS) {
-		DEBUG(2,("rlimit_max: rlimit_max (%d) below "
+		DEBUG(2,("rlimit_max: increasing rlimit_max (%d) to "
 			"minimum Windows limit (%d)\n",
 			rlimit_max,
 			MIN_OPEN_FILES_WINDOWS));


-- 
Samba Shared Repository


More information about the samba-cvs mailing list