Author: jra
Date: 2006-07-18 01:29:55 +0000 (Tue, 18 Jul 2006)
New Revision: 978

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-docs&rev=978

Log:
Make the default timeout parameter for lock waiting
be lp_lock_spin(). lock spin count is no longer
used.
Jeremy.

Modified:
   trunk/smbdotconf/locking/lockspincount.xml
   trunk/smbdotconf/locking/lockspintime.xml


Changeset:
Modified: trunk/smbdotconf/locking/lockspincount.xml
===================================================================
--- trunk/smbdotconf/locking/lockspincount.xml  2006-07-10 16:32:23 UTC (rev 
977)
+++ trunk/smbdotconf/locking/lockspincount.xml  2006-07-18 01:29:55 UTC (rev 
978)
@@ -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>

Modified: trunk/smbdotconf/locking/lockspintime.xml
===================================================================
--- trunk/smbdotconf/locking/lockspintime.xml   2006-07-10 16:32:23 UTC (rev 
977)
+++ trunk/smbdotconf/locking/lockspintime.xml   2006-07-18 01:29:55 UTC (rev 
978)
@@ -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>

Reply via email to