]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
docs: Ensure "use mmap" always has the correct default
authorAndrew Bartlett <abartlet@samba.org>
Tue, 16 Jun 2020 21:21:56 +0000 (09:21 +1200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 17 Jun 2020 14:25:28 +0000 (14:25 +0000)
We clarify the smb.conf manpage entry for "use mmap" to match the actual behaviour

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
docs-xml/smbdotconf/tuning/usemmap.xml
python/samba/tests/docs.py

index 00c36c728776d4d6f39573223ef3a6f193e3eff0..9a02501fad991ba0a40b398f89be985fba0ca274 100644 (file)
@@ -5,9 +5,9 @@
 <description>
     <para>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 <constant>no</constant> 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 <constant>no</constant>. 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.
     </para>
index 32a16a98fbc9dd9b5dc024e48c97c7a5aabe14ca..91a3f7fd8adc4757bc8b032aa80db7dc5e35d7ce 100644 (file)
@@ -109,7 +109,6 @@ class SmbDotConfTests(TestCase):
         'server string',
         'netbios name',
         'socket options',
-        'use mmap',
         'ctdbd socket',
         'printing',
         'printcap name',