1 <samba:parameter name="min receivefile size"
4 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
6 <para>This option changes the behavior of <citerefentry><refentrytitle>smbd</refentrytitle>
7 <manvolnum>8</manvolnum></citerefentry> when processing SMBwriteX calls. Any incoming
8 SMBwriteX call on a non-signed SMB/CIFS connection greater than this value will not be processed in the normal way but will
9 be passed to any underlying kernel recvfile or splice system call (if there is no such
10 call Samba will emulate in user space). This allows zero-copy writes directly from network
11 socket buffers into the filesystem buffer cache, if available. It may improve performance
12 but user testing is recommended. If set to zero Samba processes SMBwriteX calls in the
13 normal way. To enable POSIX large write support (SMB/CIFS writes up to 16Mb) this option must be
14 nonzero. The maximum value is 128k. Values greater than 128k will be silently set to 128k.</para>
15 <para>Note this option will have NO EFFECT if set on a SMB signed connection.</para>
16 <para>The default is zero, which disables this option.</para>
19 <related>min receivefile size</related>
20 <value type="default">0</value>