1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

Make the default timeout parameter for lock waiting

be lp_lock_spin(). lock spin count is no longer
used.
Jeremy.
This commit is contained in:
Jeremy Allison 2006-07-18 01:29:55 +00:00 committed by Gerald W. Carter
parent 264d8de065
commit 58418d2470
2 changed files with 11 additions and 12 deletions

View File

@ -3,15 +3,10 @@
type="integer"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>This parameter controls the number of times
that smbd should attempt to gain a byte range lock on the
behalf of a client request. Experiments have shown that
Windows 2k servers do not reply with a failure if the lock
could not be immediately granted, but try a few more times
in case the lock could later be acquired. This behavior
is used to support PC database formats such as MS Access
and FoxPro.
<para>This parameter has been made inoperative in Samba 3.0.24.
The functionality it contolled is now controlled by the parameter
<smbconfoption name="lock spin time"/>.
</para>
</description>
<value type="default">3</value>
<value type="default">0</value>
</samba:parameter>

View File

@ -4,8 +4,12 @@
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>The time in microseconds that smbd should
pause before attempting to gain a failed lock. See
<smbconfoption name="lock spin count"/> for more details.</para>
keep waiting to see if a failed lock request can
be granted. This parameter has changed in default
value from Samba 3.0.23 from 10 to 200. The associated
<smbconfoption name="lock spin count"/> parameter is
no longer used in Samba 3.0.24. You should not need
to change the value of this parameter.</para>
</description>
<value type="default">10</value>
<value type="default">200</value>
</samba:parameter>