From 86850860f871700da02000f5b7af374563134344 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 15 Jan 2014 14:48:40 +1300 Subject: lib/param: Normalise "read raw" and "write raw" parameters They have been changed to function like normal parameters, removing a special case in the loadparm system. Andrew Bartlett Signed-off-by: Andrew Bartlett Reviewed-by: Garming Sam Reviewed-by: Michael Adam --- docs-xml/smbdotconf/protocol/readraw.xml | 9 ++++----- docs-xml/smbdotconf/protocol/writeraw.xml | 20 ++++++++++++++++---- 2 files changed, 20 insertions(+), 9 deletions(-) (limited to 'docs-xml/smbdotconf') diff --git a/docs-xml/smbdotconf/protocol/readraw.xml b/docs-xml/smbdotconf/protocol/readraw.xml index 3ff250c1a5a..fb54cc0c000 100644 --- a/docs-xml/smbdotconf/protocol/readraw.xml +++ b/docs-xml/smbdotconf/protocol/readraw.xml @@ -2,15 +2,13 @@ context="G" type="boolean" developer="1" - generated_function="0" xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> - This parameter controls whether or not the server - will support the raw read SMB requests when transferring data - to clients. + This is ignored if is set, + because this feature is incompatible with raw read SMB requests If enabled, raw reads allow reads of 65535 bytes in - one packet. This typically provides a major performance benefit. + one packet. This typically provides a major performance benefit for some very, very old clients. However, some clients either negotiate the allowable @@ -24,4 +22,5 @@ yes write raw +async echo handler diff --git a/docs-xml/smbdotconf/protocol/writeraw.xml b/docs-xml/smbdotconf/protocol/writeraw.xml index 963803f62ae..fb9e386b7d1 100644 --- a/docs-xml/smbdotconf/protocol/writeraw.xml +++ b/docs-xml/smbdotconf/protocol/writeraw.xml @@ -2,13 +2,25 @@ context="G" type="boolean" developer="1" - generated_function="0" xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> - This parameter controls whether or not the server - will support raw write SMB's when transferring data from clients. - You should never need to change this parameter. + This is ignored if is set, + because this feature is incompatible with raw write SMB requests + + If enabled, raw writes allow writes of 65535 bytes in + one packet. This typically provides a major performance benefit for some very, very old clients. + + + However, some clients either negotiate the allowable + block size incorrectly or are incapable of supporting larger block + sizes, and for these clients you may need to disable raw writes. + +In general this parameter should be viewed as a system tuning + tool and left severely alone. yes + +read raw +async echo handler -- cgit