mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
5e251adbed
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
32 lines
1.1 KiB
XML
32 lines
1.1 KiB
XML
<samba:parameter name="smb2 leases"
|
|
context="G"
|
|
type="boolean"
|
|
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
|
|
<description>
|
|
<para>
|
|
This boolean option tells <command moreinfo="none">smbd</command> whether to
|
|
globally negotiate SMB2 leases on file open requests. Leasing is an SMB2-only
|
|
feature which allows clients to aggressively cache files locally above and
|
|
beyond the caching allowed by SMB1 oplocks. This (experimental) parameter is
|
|
set to off by default until the SMB2 leasing code is declared fully stable.
|
|
</para>
|
|
|
|
<para>
|
|
This is only available with <smbconfoption name="oplocks">yes</smbconfoption>
|
|
and <smbconfoption name="kernel oplocks">no</smbconfoption>.
|
|
</para>
|
|
|
|
<para>Note that the write cache won't be used for file handles with a smb2 write lease.</para>
|
|
|
|
<para>
|
|
The Samba implementation of leases is currently marked as experimental!
|
|
</para>
|
|
</description>
|
|
|
|
<related>oplocks</related>
|
|
<related>kernel oplocks</related>
|
|
<related>level2 oplocks</related>
|
|
<related>write cache size</related>
|
|
<value type="default">no</value>
|
|
</samba:parameter>
|