summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/locking/blockinglocks.xml
blob: ea5e90b5cde51b407facf9bb453e8b7104a490b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<samba:parameter xmlns:samba="http://samba.org/common">
		<term><anchor id="BLOCKINGLOCKS"/>blocking locks (S)</term>
		<listitem><para>This parameter controls the behavior 
		of <citerefentry><refentrytitle>smbd</refentrytitle>
		<manvolnum>8</manvolnum></citerefentry> when given a request by a client 
		to obtain a byte range lock on a region of an open file, and the 
		request has a time limit associated with it.</para>
		
		<para>If this parameter is set and the lock range requested 
		cannot be immediately satisfied, samba will internally 
		queue the lock request, and periodically attempt to obtain 
		the lock until the timeout period expires.</para>

		<para>If this parameter is set to <constant>no</constant>, then 
		samba will behave as previous versions of Samba would and 
		will fail the lock request immediately if the lock range 
		cannot be obtained.</para>

		<para>Default: <command moreinfo="none">blocking locks = yes</command></para>

		</listitem>
		</samba:parameter>