From: Andrew Bartlett Date: Tue, 16 Jun 2020 21:21:56 +0000 (+1200) Subject: docs: Ensure "use mmap" always has the correct default X-Git-Tag: ldb-2.2.0~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=946450562032f42712b016b6143458f46bbc3ec7;p=thirdparty%2Fsamba.git docs: Ensure "use mmap" always has the correct default We clarify the smb.conf manpage entry for "use mmap" to match the actual behaviour Signed-off-by: Andrew Bartlett Reviewed-by: Andreas Schneider --- diff --git a/docs-xml/smbdotconf/tuning/usemmap.xml b/docs-xml/smbdotconf/tuning/usemmap.xml index 00c36c72877..9a02501fad9 100644 --- a/docs-xml/smbdotconf/tuning/usemmap.xml +++ b/docs-xml/smbdotconf/tuning/usemmap.xml @@ -5,9 +5,9 @@ This global parameter determines if the tdb internals of Samba can depend on mmap working correctly on the running system. Samba requires a coherent - mmap/read-write system memory cache. Currently only HPUX does not have such a - coherent cache, and so this parameter is set to no by - default on HPUX. On all other systems this parameter should be left alone. This + mmap/read-write system memory cache. Currently only OpenBSD and HPUX do not have such a + coherent cache, and on those platforms this paramter is overridden internally + to be effeceively no. On all systems this parameter should be left alone. This parameter is provided to help the Samba developers track down problems with the tdb internal code. diff --git a/python/samba/tests/docs.py b/python/samba/tests/docs.py index 32a16a98fbc..91a3f7fd8ad 100644 --- a/python/samba/tests/docs.py +++ b/python/samba/tests/docs.py @@ -109,7 +109,6 @@ class SmbDotConfTests(TestCase): 'server string', 'netbios name', 'socket options', - 'use mmap', 'ctdbd socket', 'printing', 'printcap name',